Skip to content

Commit 330a106

Browse files
sirkirbyCopilot
andauthored
Update tests/test_coordinator_diagnostics.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ac73b41 commit 330a106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_coordinator_diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def mock_api():
3030
api._rate_limited = False
3131
api._consecutive_auth_failures = 0
3232
api._last_auth_time = datetime.now()
33-
api._rate_limit_until = 0 # Set to 0 instead of Mock
33+
api._rate_limit_until = 0 # Coordinator expects a numeric timestamp; using Mock caused type errors in tests
3434
api.clear_cache = AsyncMock()
3535
api.refresh_session = AsyncMock(return_value=True)
3636
api.controller = Mock()

0 commit comments

Comments
 (0)