mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Jobs begin in the waiting state
This commit is contained in:
parent
bf8c4b289a
commit
32220405de
@ -1551,7 +1551,7 @@ class ProjectUpdatesTest(BaseTransactionTest):
|
||||
self.assertEqual(job.status, 'new')
|
||||
self.assertFalse(job.passwords_needed_to_start)
|
||||
self.assertTrue(job.start())
|
||||
self.assertEqual(job.status, 'pending')
|
||||
self.assertEqual(job.status, 'waiting')
|
||||
job = Job.objects.get(pk=job.pk)
|
||||
self.assertTrue(job.status in ('successful', 'failed'))
|
||||
self.assertEqual(self.project.project_updates.count(), 3)
|
||||
|
Loading…
Reference in New Issue
Block a user