screen-locker/screen_locker/tests
Krzysztof kuhy Rudnicki 5aefaf7e45 feat(screen-locker): add sick-day tracker and commitment debt flow
Adds a sick-day exemption flow with debt tracking so workout enforcement
can be skipped on declared sick days while preserving phone-verification
and shutdown invariants.

- New _sick_tracker module persists sick_history.json (days, debt, commitments).
- New _sick_dialog integrates declaration into the lock UI flow.
- _ui_flows.py and screen_lock.py consult tracker before enforcing workouts.
- gitignore sick_history.json (runtime state, like sick_day_state.json).
- 304 tests pass; 100% branch coverage on every screen_locker file.
2026-05-14 19:52:15 +02:00
..
__init__.py Add comprehensive tests for stockfish_analysis (100% coverage) 2025-12-02 22:58:06 +01:00
conftest.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
test_adb_and_phone.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_early_bird.py feat(screen-locker): add early-bird workout checks and phone verification updates 2026-05-01 19:07:34 +02:00
test_init_and_log.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
test_log_integrity.py Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
test_phone_check_unlock.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
test_phone_verification_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_shutdown_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_shutdown_part3.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_sick_features.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
test_sick_tracker.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
test_time_check.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
test_ui_and_timers_part2.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
test_ui_and_timers.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
test_ui_flows_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_verify_workout.py refactor: split oversized SBE modules, extend screen locker, and enhance Horatio demo 2026-03-29 22:50:24 +02:00
test_wake_shutdown.py Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
test_wake_skip.py Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00