testsAndMisc/python_pkg
Krzysztof kuhy Rudnicki 930b284899 Add comprehensive tests for screen_locker module (100% coverage)
- Add test_screen_lock.py with 65 tests covering:
  - ScreenLocker initialization (demo/production mode)
  - Workout data validation (running and strength)
  - Log file operations (reading/writing JSON)
  - UI state transitions and timer logic
  - ask_workout_type/running_details/strength_details methods
  - Error handling and TclError exceptions

- Add type annotation to workout_data in screen_lock.py

Coverage: 273 statements, 38 branches - 100%
2025-12-02 23:13:36 +01:00
..
download_cats Add tests for multiple python_pkg modules 2025-12-01 19:49:44 +01:00
extract_links Fix test discovery and coverage for python_pkg modules 2025-12-02 22:33:34 +01:00
keyboard_coop refactor(keyboard_coop): remove dead/unreachable code 2025-12-01 20:15:40 +01:00
lichess_bot Optimize tests and simplify coverage config 2025-12-02 22:12:50 +01:00
mock_server Add tests for multiple python_pkg modules 2025-12-01 19:49:44 +01:00
pdfCentered refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
random_jpg Add tests for multiple python_pkg modules 2025-12-01 19:49:44 +01:00
randomize_numbers refactor(randomize_numbers): use list comprehension to achieve 100% coverage 2025-12-01 20:19:02 +01:00
scrape_website Improve test coverage for multiple modules 2025-12-01 19:59:11 +01:00
screen_locker Add comprehensive tests for screen_locker module (100% coverage) 2025-12-02 23:13:36 +01:00
split Add tests for multiple python_pkg modules 2025-12-01 19:49:44 +01:00
stockfish_analysis Add comprehensive tests for stockfish_analysis (100% coverage) 2025-12-02 22:58:06 +01:00
tag_divider Improve test coverage for multiple modules 2025-12-01 19:59:11 +01:00
__init__.py refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
.gitignore refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00