diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-25 19:18:20 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-25 19:18:20 +0100 |
commit | 33fe24b1e8bb81b8e4e2f9851d967ce86616c62b (patch) | |
tree | 3a32725af1391917f1a477f35a9caa2da5cdf8f7 /archaeological_operations/tests.py | |
parent | 513aceb9241806f7350ec7fc1ac49d3b75bc953a (diff) | |
download | Ishtar-33fe24b1e8bb81b8e4e2f9851d967ce86616c62b.tar.bz2 Ishtar-33fe24b1e8bb81b8e4e2f9851d967ce86616c62b.zip |
Tests: create necessary view(s) on _pre_setup.
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 18548b0b1..ab485572a 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -26,7 +26,6 @@ import datetime from django.conf import settings from django.core.files.uploadedfile import SimpleUploadedFile from django.core.urlresolvers import reverse -from django.test import TestCase from django.test.client import Client from django.contrib.auth.models import Permission @@ -41,7 +40,7 @@ from archaeological_context_records.models import Unit from ishtar_common import forms_common from ishtar_common.tests import WizardTest, WizardTestFormData as FormData, \ - create_superuser, create_user + create_superuser, create_user, TestCase class ImportTest(object): @@ -770,7 +769,7 @@ class OperationTest(TestCase, OperationInitTest): def test_cache_bulk_update(self): if settings.USE_SPATIALITE_FOR_TESTS: - # using views can only be tested with postgresql + # using views - can only be tested with postgresql return operation = self.operations[0] |