refactor(tests): Add strict type hints to final batch of test files

This commit is contained in:
2026-02-28 19:31:19 -05:00
parent f5e43c7987
commit 7a0e8e6366
7 changed files with 11 additions and 13 deletions

View File

@@ -8,8 +8,7 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
import mcp_client
def test_mcp_perf_tool_retrieval():
# Test that the MCP tool can call performance_monitor metrics
def test_mcp_perf_tool_retrieval() -> None:
mock_metrics = {"fps": 60, "last_frame_time_ms": 16.6}
# Simulate tool call by patching the callback
with patch('mcp_client.perf_monitor_callback', return_value=mock_metrics):