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
commit4f898cad7318a13e2d8e0c7744c6960d534817d2 (patch)
tree99c1cff34a19a929e08a6cbd5ca0733eb4109936 /archaeological_operations/tests.py
parent49fabbe3341340829d4ae3ec43c6744f5a0f0e68 (diff)
downloadIshtar-4f898cad7318a13e2d8e0c7744c6960d534817d2.tar.bz2
Ishtar-4f898cad7318a13e2d8e0c7744c6960d534817d2.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):