diff options
Diffstat (limited to 'archaeological_finds/tests.py')
| -rw-r--r-- | archaeological_finds/tests.py | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index b521e0b97..16fb575c7 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -35,7 +35,6 @@ from django.test import LiveServerTestCase  from django.test.client import Client  from django.urls import reverse  from ishtar_common.models import ( -    ImporterGroup,      ImporterType,      IshtarUser,      ImporterColumn, @@ -95,7 +94,8 @@ from ishtar_common.tests import (      GenericSerializationTest,      SearchText,  ) -from archaeological_operations.tests import ImportTest, create_operation, create_administrativact +from archaeological_operations.tests import ImportTest, create_operation, \ +                                            create_administrativact  from archaeological_context_records.tests import ContextRecordInit  from archaeological_operations.serializers import operation_serialization @@ -1994,6 +1994,7 @@ class FindPermissionTest(FindInit, TestCase):          response = c.get(reverse("get-find"))          # only one "own" operation available          content = response.content.decode() +        self.assertTrue(content)          self.assertTrue(json.loads(content))          self.assertEqual(json.loads(content)["recordsTotal"], 1)  | 
