summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py
index 956afcaaa..01418141d 100644
--- a/archaeological_operations/tests.py
+++ b/archaeological_operations/tests.py
@@ -1024,8 +1024,8 @@ class OperationTest(TestCase, OperationInitTest):
parcel_nb = models.Parcel.objects.count()
ope.parcels.add(parcel)
ope.delete()
- # our parcel has no operation attached and should be deleted
- self.assertEqual(parcel_nb - 1, models.Parcel.objects.count())
+ # our parcel has no operation attached and... is not more deleted
+ self.assertEqual(parcel_nb, models.Parcel.objects.count())
ope = self.operations[1]
parcel = models.Parcel.objects.create(town=town)
parcel_nb = models.Parcel.objects.count()
@@ -2369,8 +2369,8 @@ class OperationWizardDeleteTest(OperationWizardCreationTest):
def post_wizard(self):
self.assertEqual(self.operation_number - 1,
models.Operation.objects.count())
- # associated parcel removed
- self.assertEqual(self.parcel_nb - 1, models.Parcel.objects.count())
+ # associated parcel is... no more removed
+ self.assertEqual(self.parcel_nb, models.Parcel.objects.count())
class OperationWizardClosingTest(OperationWizardCreationTest):