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