mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Fix a bug in the mainline inventory test
This commit is contained in:
@@ -573,7 +573,7 @@ class InventoryTest(BaseTest):
|
|||||||
# access
|
# access
|
||||||
url1 = reverse('api:group_hosts_list', args=(groups[0].pk,))
|
url1 = reverse('api:group_hosts_list', args=(groups[0].pk,))
|
||||||
alt_group_hosts = reverse('api:group_hosts_list', args=(groups[1].pk,))
|
alt_group_hosts = reverse('api:group_hosts_list', args=(groups[1].pk,))
|
||||||
other_alt_group_hosts = reverse('api:group_hosts_list', args(groups[2].pk,))
|
other_alt_group_hosts = reverse('api:group_hosts_list', args=(groups[2].pk,))
|
||||||
|
|
||||||
data = self.get(url1, expect=200, auth=self.get_normal_credentials())
|
data = self.get(url1, expect=200, auth=self.get_normal_credentials())
|
||||||
self.assertEquals(data['count'], 2)
|
self.assertEquals(data['count'], 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user