Manage daily reports by date and refresh monthly reports after deletion

This commit is contained in:
Wyndham ARR committed 2026-10-09 11:09:33 +08:00
1 parent 976a4fa7b2
commit 2a54838d59
41 files changed
+2757 -89

No files matched your search

+3
View File
@@ -36,6 +36,9 @@ class PreviewTests(unittest.TestCase):
self.assertFalse(health[key])
self.assertFalse(get("/api/arr-downloads")["ready"])
self.assertEqual(get("/api/jobs?month=2026-09"), [])
self.assertEqual(get("/api/daily-reports?month=2026-09"), [])
self.assertIsNone(get("/api/daily-reports/2026-09-16")["current_job"])
self.assertEqual(get("/api/daily-reports/2026-09-16/history"), [])
self.assertEqual(get("/api/months"), [])
def test_all_mutations_blocked_before_dispatch(self):