summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-08-31 16:54:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-09-01 12:36:46 +0200
commiteaa5572d612e76ea8f55a27ddb7143d3a7385ab3 (patch)
tree9a54f7a6a31c45779c11c4458e0caf5d2a284a4c /archaeological_finds
parent46d9f7a8eb6df547ecdfb441ff60efdd34f13296 (diff)
downloadIshtar-eaa5572d612e76ea8f55a27ddb7143d3a7385ab3.tar.bz2
Ishtar-eaa5572d612e76ea8f55a27ddb7143d3a7385ab3.zip
Tests: clean imports
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index 4c640b88a..1bb10824f 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,
@@ -2505,8 +2506,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
@@ -2855,6 +2854,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")