diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-03 11:07:49 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-03 11:07:49 +0200 |
commit | c700b1b3d023b62d24015897df66e0bfd7f35893 (patch) | |
tree | 97794aef049735071acf5558c6e12f9b444f6605 | |
parent | 8ddff89ce0ed55757d76b58fe1f9a0395685839f (diff) | |
download | Ishtar-c700b1b3d023b62d24015897df66e0bfd7f35893.tar.bz2 Ishtar-c700b1b3d023b62d24015897df66e0bfd7f35893.zip |
Tests: pre_setup is not necessary anymore
-rw-r--r-- | ishtar_common/tests.py | 8 |
1 files changed, 1 insertions, 7 deletions
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): |