Track repair collection cycles and reconcile request availability
Magent CI/CD / verify (push) Successful in 10m47s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Successful in 1m49s

This commit is contained in:
2026-09-06 22:06:30 +12:00
parent 8d720de500
commit 009bb35032
11 changed files with 762 additions and 151 deletions
+3 -3
View File
@@ -317,7 +317,7 @@ class RequestCacheTests(unittest.TestCase):
self.assertEqual(requests_router._cache_get(key), {"id": 123})
class RequestVisibilityTests(unittest.TestCase):
class RequestVisibilityTests(TempDatabaseMixin, unittest.TestCase):
def test_non_admin_snapshot_excludes_advanced_identifying_data(self) -> None:
snapshot = Snapshot(
request_id="3925",
@@ -991,7 +991,7 @@ class SnapshotIdentityTests(unittest.TestCase):
self.assertEqual(snapshot.year, 2016)
class LiveDownloadProgressTests(unittest.IsolatedAsyncioTestCase):
class LiveDownloadProgressTests(TempDatabaseMixin, unittest.IsolatedAsyncioTestCase):
async def test_live_download_progress_uses_saved_hash_and_current_qbittorrent_value(self) -> None:
runtime = SimpleNamespace(
jellyseerr_base_url=None,
@@ -1499,7 +1499,7 @@ class AuthFlowTests(TempDatabaseMixin, unittest.IsolatedAsyncioTestCase):
self.assertEqual(context.exception.detail, "recipient_email is required and must be a valid email address.")
class MediaReplacementTests(unittest.IsolatedAsyncioTestCase):
class MediaReplacementTests(TempDatabaseMixin, unittest.IsolatedAsyncioTestCase):
def test_failed_repair_marks_linked_issue_as_blocked(self) -> None:
issue = {"id": 12, "status": "in_progress"}
with (