fix: implement backend testing amendments and atomic source publication
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m16s
Mostovik Backend CI/CD / Deploy dev (push) Has been cancelled
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been cancelled
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been cancelled
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m16s
Mostovik Backend CI/CD / Deploy dev (push) Has been cancelled
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been cancelled
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been cancelled
This commit is contained in:
@@ -102,7 +102,7 @@ class CoreAdminTest(TestCase):
|
||||
job = BackgroundJob.objects.create(
|
||||
task_id=fake.uuid4(),
|
||||
task_name="test.task",
|
||||
status="pending",
|
||||
status="queued",
|
||||
)
|
||||
request = self._request()
|
||||
qs = BackgroundJob.objects.all()
|
||||
@@ -110,7 +110,7 @@ class CoreAdminTest(TestCase):
|
||||
self.admin.revoke_jobs(request, qs)
|
||||
revoke_mock.assert_called_once_with(job.task_id, terminate=True)
|
||||
job.refresh_from_db()
|
||||
self.assertEqual(job.status, "revoked")
|
||||
self.assertEqual(job.status, "cancelled")
|
||||
|
||||
|
||||
class AdminDashboardTest(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user