diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-10-24 10:40:25 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:43:48 +0100 |
commit | 6bb173399857b641c465cc5460112b6331fc55be (patch) | |
tree | 50c92592efe3cc399c90ff5e16e6a516eadac9b8 /archaeological_operations/tests.py | |
parent | 6f59b9e36a0971b3deb44562062a878eb26beedf (diff) | |
download | Ishtar-6bb173399857b641c465cc5460112b6331fc55be.tar.bz2 Ishtar-6bb173399857b641c465cc5460112b6331fc55be.zip |
⚰️ remove old "operations" utils not used anymore - parse_parcel is moved to ishtar_common
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 2c5946e87..fa2471bbd 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -50,6 +50,7 @@ from rest_framework.authtoken.models import Token from . import models from ishtar_common import models_rest +from ishtar_common.utils import parse_parcels from ishtar_common.views import document_deletion_steps from ishtar_common.views_item import get_item, adapt_distant_search from archaeological_operations import views, serializers @@ -1148,9 +1149,6 @@ class ParcelTest(ImportTest, TestCase): fixtures = OPERATION_TOWNS_FIXTURES def test_parse_parcels(self): - # the database needs to be initialised before importing - from archaeological_operations.utils import parse_parcels - # default_town = Town.objects.create(numero_insee="12345", # name="default_town") test_values = ( |