summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_operations/tests.py8
-rw-r--r--requirements.txt2
2 files changed, 5 insertions, 5 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):
diff --git a/requirements.txt b/requirements.txt
index e42749e4b..e79fdd1a7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
six>=1.9
psycopg2==2.5.4
django-registration==2.2
-django>=1.11.18, <1.11.19
+django==1.11.18
Pillow==3.4.2
WeasyPrint==0.41
html5lib==0.999999999