feat: add job pause and improve HLTB matching
CI / test (push) Successful in 1m17s

This commit is contained in:
strsv committed 2026-11-07 00:13:21 +03:00
1 parent ccc1f625e8
commit 5874ffba9f
13 files changed
+258 -34

No files matched your search

+2
View File
@@ -650,6 +650,8 @@ class ApiTests(unittest.TestCase):
def test_job_cancel_without_job(self):
data = self.post("/api/job/cancel", {}, expect=200)
self.assertFalse(data["cancelled"])
self.assertFalse(self.post("/api/job/pause", {}, expect=200)["paused"])
self.assertFalse(self.post("/api/job/resume", {}, expect=200)["paused"])
def test_job_retry_without_job(self):
data = self.post("/api/job/retry", {}, expect=200)