From 56f5c0f402797b6d4c8e902190525bbabd81b259 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 30 Sep 2014 16:21:39 -0400 Subject: [PATCH] Use assertEqual in the inventory test --- awx/main/tests/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tests/inventory.py b/awx/main/tests/inventory.py index 642c3ae966..0bc47859c9 100644 --- a/awx/main/tests/inventory.py +++ b/awx/main/tests/inventory.py @@ -1581,4 +1581,4 @@ class InventoryUpdatesTest(BaseTransactionTest): self.assertTrue(response['can_update']) with self.current_user(self.super_django_user): response = self.post(custom_inv_update, {}, expect=202) - self.assertTrue(custom_group.hosts.all().count() == 4) + self.assertEqual(custom_group.hosts.all().count(), 4)