This commit is contained in:
1 parent
ccc1f625e8
commit
5874ffba9f
13 files changed
+258
-34
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user