Will Miao
8e30008b29
test: complete Phase 3 of backend testing improvement plan
Centralize test fixtures:
- Add mock_downloader fixture for configurable downloader mocking
- Add mock_websocket_manager fixture for WebSocket broadcast recording
- Add reset_singletons autouse fixture for test isolation
- Consolidate singleton cleanup in conftest.py
Split large test files:
- test_download_manager.py (1422 lines) → 3 focused files:
- test_download_manager_basic.py: 12 core functionality tests
- test_download_manager_error.py: 15 error handling tests
- test_download_manager_concurrent.py: 6 advanced scenario tests
- test_cache_paths.py (530 lines) → 3 focused files:
- test_cache_paths_resolution.py: 11 path resolution tests
- test_cache_paths_validation.py: 9 legacy validation tests
- test_cache_paths_migration.py: 9 migration scenario tests
Update documentation:
- Mark all Phase 3 checklist items as complete
- Add Phase 3 completion summary with test results
All 894 tests passing.
2026-02-11 11:10:31 +08:00
..
2026-02-11 11:10:31 +08:00
2026-02-11 11:10:31 +08:00
2026-02-11 11:10:31 +08:00
2025-11-30 17:18:28 +08:00
2026-02-11 09:24:00 +08:00
2025-10-08 08:56:57 +08:00
2025-10-09 22:15:07 +08:00
2025-10-05 22:19:29 +08:00
2025-10-27 18:21:43 +08:00
2026-01-31 19:39:37 +08:00
2025-11-29 08:46:38 +08:00
2025-10-05 14:43:21 +08:00
2026-02-03 21:32:15 +08:00
2025-10-05 14:43:21 +08:00
2025-10-14 16:03:33 +08:00
2026-01-30 06:56:10 +08:00
2025-10-25 06:43:03 +08:00
2025-10-05 15:48:50 +08:00
2025-11-04 12:54:09 +08:00
2025-10-18 16:20:47 +08:00