Use assertEqual in the inventory test

This commit is contained in:
Matthew Jones 2014-09-30 16:21:39 -04:00
parent bf0bbe7580
commit 56f5c0f402

View File

@ -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)