"""Tests for docker_stats module.""" import pytest from unittest.mock import MagicMock, patch, AsyncMock from textual_webterm.docker_stats import ( DockerStatsCollector, render_sparkline_svg, STATS_HISTORY_SIZE, ) class TestRenderSparklineSvg: """Tests for SVG sparkline rendering.""" def test_empty_values(self): """Empty values produce empty SVG.""" svg = render_sparkline_svg([]) assert "