mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Updated Job.limit expectation in old tests
See 821c43ba88d18feaded696e9994a9c5277a3195b
This commit is contained in:
parent
aa49e071c6
commit
5ea372ae43
@ -961,7 +961,7 @@ class JobTemplateCallbackTest(BaseJobTestMixin, django.test.LiveServerTestCase):
|
|||||||
self.assertEqual(jobs_qs.count(), 7)
|
self.assertEqual(jobs_qs.count(), 7)
|
||||||
job = jobs_qs[0]
|
job = jobs_qs[0]
|
||||||
self.assertEqual(job.launch_type, 'callback')
|
self.assertEqual(job.launch_type, 'callback')
|
||||||
self.assertEqual(job.limit, ':&'.join([job_template.limit, host.name]))
|
self.assertEqual(job.limit, host.name)
|
||||||
self.assertEqual(job.hosts.count(), 1)
|
self.assertEqual(job.hosts.count(), 1)
|
||||||
self.assertEqual(job.hosts.all()[0], host)
|
self.assertEqual(job.hosts.all()[0], host)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user