From 33fe24b1e8bb81b8e4e2f9851d967ce86616c62b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 25 Feb 2017 19:18:20 +0100 Subject: Tests: create necessary view(s) on _pre_setup. --- archaeological_operations/tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'archaeological_operations/tests.py') 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] -- cgit v1.2.3