testsAndMisc/python_pkg/screen_locker/tests
Krzysztof kuhy Rudnicki 7f2d2c4c39 fix(screen_locker): parse exercises from JSON column, show reason in suspicious message
- Rewrite _get_today_exercise_count() to parse JSON from workouts.exercises
  column instead of broken JOIN on exercises definition table
- Show actual reason (stale/no_exercises) instead of generic 'suspicious'
- Fix pylint issues: generated-members regex for mock assertions, design
  limits for mixins/tests, concurrent.futures no-name-in-module disable,
  implicit booleanness in assertions, module-level pylint disables in tests
- Add pytest to pre-commit pylint additional_dependencies
- Add tests for missing exercises column, null/malformed JSON, nameless
  exercise entries
2026-04-10 18:11:30 +02:00
..
__init__.py Add comprehensive tests for stockfish_analysis (100% coverage) 2025-12-02 22:58:06 +01:00
conftest.py refactor: split oversized SBE modules, extend screen locker, and enhance Horatio demo 2026-03-29 22:50:24 +02:00
test_adb_and_phone.py fix(screen_locker): parse exercises from JSON column, show reason in suspicious message 2026-04-10 18:11:30 +02:00
test_init_and_log.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
test_log_integrity.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
test_phone_check_unlock.py fix(screen_locker): parse exercises from JSON column, show reason in suspicious message 2026-04-10 18:11:30 +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_time_check.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
test_ui_and_timers_part2.py Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
test_ui_and_timers.py refactor: remove manual workout forms, ADB-only verification + sick mode 2026-03-27 15:54:01 +01: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