mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Re-activated SQLite restriction. Test passes in pg.
This commit is contained in:
@@ -862,10 +862,7 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest):
|
|||||||
self.assertNotEqual(new_inv.total_groups, 0)
|
self.assertNotEqual(new_inv.total_groups, 0)
|
||||||
self.assertElapsedLessThan(30)
|
self.assertElapsedLessThan(30)
|
||||||
|
|
||||||
@unittest.skipIf(getattr(settings, 'LOCAL_DEVELOPMENT', False),
|
@unittest.skipIf(hasattr(django.db.backend, 'sqlite3'),
|
||||||
'Skip this test in local development environments, '
|
|
||||||
'which may vary widely on memory.')
|
|
||||||
@unittest.skipIf(settings.DATABASES['default']['ENGINE'] == 'django.db.backends.sqlite3',
|
|
||||||
'Skip this test if we are on sqlite')
|
'Skip this test if we are on sqlite')
|
||||||
def test_splunk_inventory(self):
|
def test_splunk_inventory(self):
|
||||||
new_inv = self.organizations[0].inventories.create(name='splunk')
|
new_inv = self.organizations[0].inventories.create(name='splunk')
|
||||||
|
|||||||
Reference in New Issue
Block a user