From c700b1b3d023b62d24015897df66e0bfd7f35893 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 3 May 2017 11:07:49 +0200 Subject: Tests: pre_setup is not necessary anymore --- ishtar_common/tests.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'ishtar_common/tests.py') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index eca722670..953e91b61 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -95,13 +95,7 @@ def create_user(): class TestCase(BaseTestCase): - def _pre_setup(self): - super(TestCase, self)._pre_setup() - if settings.USE_SPATIALITE_FOR_TESTS: - return - with connection.cursor() as c: - for view in [CRBulkView, FirstBaseFindView, BFBulkView, FBulkView]: - c.execute(view.CREATE_SQL) + pass class CommandsTestCase(TestCase): -- cgit v1.2.3