Lukas
ab1836575e
Task 6: Page Controller Tests - 37 tests, 100% coverage
- Implemented comprehensive test suite for page controller
- 37 unit tests covering:
- Root endpoint (/) rendering index.html
- Setup endpoint (/setup) rendering setup.html
- Login endpoint (/login) rendering login.html
- Queue endpoint (/queue) rendering queue.html
- Loading endpoint (/loading) rendering loading.html
- Template helper functions for context generation
- Series context preparation and filtering
- Template validation and listing
- Series lookup by key
- Filter series by missing episodes
Coverage:
- Page controller: 100% (19/19 statements)
- Template helpers: 98.28% (42/42 statements, 15/16 branches)
- Overall: Exceeds 85%+ target
Test results: All 37 tests passing
- Mocked render_template for controller tests
- Mocked Request objects
- Tested all template helper functions
- Validated correct template names and titles passed
2026-01-26 18:45:21 +01:00
..
2026-01-26 17:22:55 +01:00
2025-12-23 18:13:10 +01:00
2026-01-24 17:42:59 +01:00
2025-12-23 18:13:10 +01:00
2025-12-23 18:13:10 +01:00
2026-01-26 18:45:21 +01:00
2025-10-12 23:17:20 +02:00
2025-11-15 12:35:51 +01:00