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 | c3e4c309deb686685e34a441445b6104ba4913a7 (patch) | |
tree | 97794aef049735071acf5558c6e12f9b444f6605 | |
parent | cc08e9c89aa50f702694c8bd93d9b0c823014f47 (diff) | |
download | Ishtar-c3e4c309deb686685e34a441445b6104ba4913a7.tar.bz2 Ishtar-c3e4c309deb686685e34a441445b6104ba4913a7.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): |