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 1311a72ba..813153318 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -79,6 +79,7 @@ from archaeological_operations.models import Operation, OperationType from ishtar_common import forms_common from ishtar_common.tests import ( + GeomaticTest as BaseGeomaticTest, WizardTest, WizardTestFormData as FormData, TestCase, @@ -2523,8 +2524,6 @@ class GeomaticTest(FindInit, TestCase): self.assertEqual(base_find.point_source, "P") def test_get_geo_items(self): - from ishtar_common.tests import GeomaticTest as BaseGeomaticTest - # profile = models.get_current_profile() profile = get_current_profile() profile.mapping = True @@ -2873,6 +2872,8 @@ class SeleniumTestsBaseFinds(SeleniumTests): self.assertNotInDOM(get_poly) def test_geo_items(self): + if not settings.SELENIUM_TEST: + return geojsons = self.default_geojson() # from operation self.access_from_dropdown("operation") |