fix(tests): test_auto_calibration_in_quiet_window fails when test_occupancy.py runs first #221
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#221
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Agent Brief
Category: bug
Summary:
tests/test_calibration_reconciliation.py::test_auto_calibration_in_quiet_windowfails whenevertests/test_occupancy.pyruns before it. The test depends on run order.Current behavior:
test_occupancy.pyfirst, failstest_auto_calibration_in_quiet_window. It passes on its own and in the default full-suite order.test_occupancy.py: monitor or service singletons, cached config, the active multiplier, or the calibration window and clock.Desired behavior:
test_occupancy.py, and under random ordering.Acceptance criteria:
pytest tests/test_occupancy.py tests/test_calibration_reconciliation.pypasses.Out of scope:
Refs #168, #217, #218.
🤖 Generated with Claude Code