mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Fix the job_tasks test.
This commit is contained in:
@@ -50,7 +50,7 @@ class JobTasksTests(BaseJobTestMixin, LiveServerTestCase):
|
|||||||
|
|
||||||
# Test to make sure we got back what we expected.
|
# Test to make sure we got back what we expected.
|
||||||
result = response['results'][0]
|
result = response['results'][0]
|
||||||
self.assertEqual(result['host_count'], 1)
|
self.assertEqual(result['host_count'], 7)
|
||||||
self.assertEqual(result['changed_count'], 1)
|
self.assertEqual(result['changed_count'], 7)
|
||||||
self.assertFalse(result['failed'])
|
self.assertFalse(result['failed'])
|
||||||
self.assertTrue(result['changed'])
|
self.assertTrue(result['changed'])
|
||||||
|
|||||||
Reference in New Issue
Block a user