|
|
cabf29f111
|
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 |
|