From c45926411c4c10bf2a3a0ef4d802e6e909a0a8d5 Mon Sep 17 00:00:00 2001 From: James Laska Date: Thu, 5 Jun 2014 12:14:09 -0400 Subject: [PATCH] Disable DEBUG for unittests --- awx/main/tests/commands.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/awx/main/tests/commands.py b/awx/main/tests/commands.py index 99c6339b32..3264a6f2fa 100644 --- a/awx/main/tests/commands.py +++ b/awx/main/tests/commands.py @@ -862,7 +862,6 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest): self.assertEqual(new_inv.groups.count(), 0) os.chdir(os.path.join(os.path.dirname(__file__), 'data')) inv_file = 'large_ec2_inventory.py' - settings.DEBUG = True result, stdout, stderr = self.run_command('inventory_import', inventory_id=new_inv.pk, source=inv_file) @@ -906,7 +905,6 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest): new_inv = self.organizations[0].inventories.create(name='largeinv') self.assertEqual(new_inv.hosts.count(), 0) self.assertEqual(new_inv.groups.count(), 0) - settings.DEBUG = True nhosts = 2000 # Test initial import into empty inventory. self._check_largeinv_import(new_inv, nhosts, 0)