summaryrefslogtreecommitdiff
path: root/archaeological_operations/tests.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2022-03-09 10:06:03 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:21:00 +0100
commit83419d4ecc17f785c909b12c5c45c8cd1745ab29 (patch)
tree99c1cff34a19a929e08a6cbd5ca0733eb4109936 /archaeological_operations/tests.py
parent296fea30ea25954ea13e86155308b0367755baf2 (diff)
downloadIshtar-83419d4ecc17f785c909b12c5c45c8cd1745ab29.tar.bz2
Ishtar-83419d4ecc17f785c909b12c5c45c8cd1745ab29.zip
Operation - Parcels - Modify: debug mode on tests cause of duplicate parcel #5227
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r--archaeological_operations/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py
index b81189db8..1da5aed6c 100644
--- a/archaeological_operations/tests.py
+++ b/archaeological_operations/tests.py
@@ -1737,6 +1737,7 @@ class ParcelTest(ImportTest, TestCase):
self.assertContains(response, "XXX")
parcels = models.Parcel.objects.all()
+ print("First passage parcels BDD : ", parcels)
self.assertEqual(parcels.count(), 3)
deleted_parcel = models.Parcel.objects.filter(pk=parcel_1.pk)
@@ -1768,7 +1769,8 @@ class ParcelTest(ImportTest, TestCase):
for i in range(10, 20):
self.assertContains(response, i)
parcels = models.Parcel.objects.all()
- self.assertEqual(parcels.count(), 16)
+ print("Second passage parcels BDD : ", parcels)
+ self.assertEqual(parcels.count(), 15)
def create_orga(user):