1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Fix a bug in the mainline inventory test

This commit is contained in:
Matthew Jones 2014-06-06 15:52:28 -04:00
parent 6773fd19d7
commit 718e9916f0

View File

@ -573,7 +573,7 @@ class InventoryTest(BaseTest):
# access
url1 = reverse('api:group_hosts_list', args=(groups[0].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())
self.assertEquals(data['count'], 2)