Lukas
9c0f7ce08d
test: add tests for scheduled folder scan and startup NFO repair removal
...
Add comprehensive test coverage for Tasks 1.1–1.5 and 2.1:
- test_scheduler_config_model.py: folder_scan_enabled defaults, explicit
values, backward compatibility with old configs, serialization roundtrip
- test_folder_scan_service.py (new): prerequisites, NFO repair integration,
folder rename integration, poster check/download, semaphore values,
NFO thumb URL extraction, full end-to-end scan flow
- test_scheduler_service.py: scheduler _perform_rescan integration with
folder_scan_enabled (called when enabled, skipped when disabled, error
handling and broadcasting), folder_scan_enabled in get_status output
- test_nfo_repair_startup.py: verify perform_nfo_repair_scan is NOT called
during FastAPI lifespan startup and IS called from FolderScanService
All 90 tests pass.
2026-05-13 09:43:34 +02:00
..
2025-10-12 23:17:20 +02:00
2026-02-06 18:47:47 +01:00
2026-02-15 17:49:11 +01:00
2025-12-04 19:22:42 +01:00
2026-02-15 17:49:12 +01:00
2026-02-15 17:49:11 +01:00
2025-10-23 22:03:15 +02:00
2025-10-23 22:03:15 +02:00
2026-01-21 18:58:24 +01:00
2026-03-14 09:33:32 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-26 19:48:35 +01:00
2025-11-23 20:02:11 +01:00
2026-02-01 11:25:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-16 19:33:23 +01:00
2025-12-10 21:12:34 +01:00
2026-05-13 08:07:16 +02:00
2026-02-15 17:49:12 +01:00
2026-01-27 18:10:16 +01:00
2026-02-15 17:49:11 +01:00
2026-01-16 18:50:04 +01:00
2025-12-04 19:22:42 +01:00
2026-02-15 17:49:11 +01:00
2026-01-19 19:50:25 +01:00
2025-11-28 17:41:54 +01:00
2026-01-15 19:43:58 +01:00
2026-02-02 07:19:36 +01:00
2026-02-26 21:02:08 +01:00
2026-02-15 17:49:12 +01:00
2026-02-15 17:49:11 +01:00
2026-01-26 19:58:24 +01:00
2025-10-23 19:00:49 +02:00
2025-12-26 12:49:23 +01:00
2026-05-13 09:23:21 +02:00
2026-05-13 09:43:34 +02:00
2025-12-15 14:23:41 +01:00
2026-02-02 07:19:36 +01:00
2026-01-15 19:43:58 +01:00
2026-02-15 17:49:11 +01:00
2026-02-22 16:55:54 +01:00
2025-10-23 21:00:34 +02:00
2025-10-12 23:33:56 +02:00
2026-01-21 20:07:19 +01:00
2026-02-15 17:49:11 +01:00
2025-10-22 09:20:35 +02:00
2025-10-13 00:18:46 +02:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-31 18:49:11 +01:00
2026-01-31 15:25:30 +01:00
2026-02-15 17:49:11 +01:00
2026-03-06 21:20:17 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-17 22:13:34 +01:00
2026-01-21 19:36:54 +01:00
2026-01-11 20:17:18 +01:00
2026-02-22 11:26:06 +01:00
2026-01-18 12:07:37 +01:00
2026-04-19 18:53:11 +02:00
2026-03-17 11:39:27 +01:00
2026-01-26 18:01:03 +01:00
2026-01-26 18:45:21 +01:00
2026-03-17 11:39:27 +01:00
2025-12-16 19:21:30 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2025-10-24 11:01:40 +02:00
2025-10-24 11:01:40 +02:00
2026-02-15 17:49:11 +01:00
2025-12-16 19:21:30 +01:00
2026-02-15 17:49:12 +01:00
2026-02-15 17:49:11 +01:00
2026-05-13 09:43:34 +02:00
2026-05-13 09:43:34 +02:00
2026-01-26 17:22:55 +01:00
2026-01-11 20:12:23 +01:00
2026-01-18 12:28:38 +01:00
2026-01-11 20:12:23 +01:00
2026-02-15 17:49:12 +01:00
2026-04-19 18:46:30 +02:00
2026-03-16 21:01:59 +01:00
2026-02-15 17:49:11 +01:00
2025-12-25 18:05:33 +01:00
2026-01-26 20:06:21 +01:00
2025-11-19 21:20:22 +01:00
2026-02-15 17:49:11 +01:00
2026-05-13 08:07:16 +02:00
2025-10-22 09:20:35 +02:00
2025-11-28 16:00:15 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-26 18:12:33 +01:00
2025-12-25 18:05:33 +01:00
2026-02-02 07:19:36 +01:00
2026-02-15 17:49:11 +01:00
2025-11-28 15:48:49 +01:00
2025-12-24 20:54:27 +01:00