mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
Use assertEqual in the inventory test
This commit is contained in:
@@ -1581,4 +1581,4 @@ class InventoryUpdatesTest(BaseTransactionTest):
|
|||||||
self.assertTrue(response['can_update'])
|
self.assertTrue(response['can_update'])
|
||||||
with self.current_user(self.super_django_user):
|
with self.current_user(self.super_django_user):
|
||||||
response = self.post(custom_inv_update, {}, expect=202)
|
response = self.post(custom_inv_update, {}, expect=202)
|
||||||
self.assertTrue(custom_group.hosts.all().count() == 4)
|
self.assertEqual(custom_group.hosts.all().count(), 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user