testsAndMisc/python_pkg/screen_locker/tests
Krzysztof kuhy Rudnicki 10b4812ed0 screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights
- Added SCHEDULED_SKIPS_FILE constant pointing to scheduled_skips.json
- Added _is_scheduled_skip_today() method: reads JSON list of YYYY-MM-DD
  strings, exits 0 if today's UTC date is found (skips lock entirely)
- _shutdown.py: changed rtcwake -m no -> -m disk so machine hibernates
  immediately when scheduling morning alarm (bedroom use)
- Added tests/test_scheduled_skip.py with full branch coverage
- Added scheduled_skips.json with initial skip dates
2026-05-22 16:00:15 +02:00
..
__init__.py Add comprehensive tests for stockfish_analysis (100% coverage) 2025-12-02 22:58:06 +01:00
conftest.py screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02:00
test_adb_and_phone.py refactor(linux_configuration): move remaining dirs + scripts/ to meta/ 2026-05-15 00:53:01 +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_scheduled_skip.py screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02: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_vt_switching.py security: harden digital-wellbeing bypass vectors 2026-05-16 15:41:40 +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