1
0
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:
Matthew Jones 2014-01-30 11:40:20 -05:00
parent bf8c4b289a
commit 32220405de

View File

@ -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)