From debd9b885036b118cf2ecc4c7ddc036e9809a3cc Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Thu, 11 Sep 2014 12:44:04 -0500 Subject: [PATCH] Re-activated SQLite restriction. Test passes in pg. --- awx/main/tests/commands.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/awx/main/tests/commands.py b/awx/main/tests/commands.py index ed5536c8f7..b2a94d1728 100644 --- a/awx/main/tests/commands.py +++ b/awx/main/tests/commands.py @@ -862,10 +862,7 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest): self.assertNotEqual(new_inv.total_groups, 0) self.assertElapsedLessThan(30) - @unittest.skipIf(getattr(settings, 'LOCAL_DEVELOPMENT', False), - 'Skip this test in local development environments, ' - 'which may vary widely on memory.') - @unittest.skipIf(settings.DATABASES['default']['ENGINE'] == 'django.db.backends.sqlite3', + @unittest.skipIf(hasattr(django.db.backend, 'sqlite3'), 'Skip this test if we are on sqlite') def test_splunk_inventory(self): new_inv = self.organizations[0].inventories.create(name='splunk')