diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-01 18:10:02 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-13 18:26:03 +0200 |
commit | fd89abf54954a22534d769f27a62608f32c367fa (patch) | |
tree | 86516f6293627e14d0d9a3ad35dd8d7dd17e189c /archaeological_operations/tests.py | |
parent | 3a8aa349b06129c4a8f591d56147ce0c97d4d9c5 (diff) | |
download | Ishtar-fd89abf54954a22534d769f27a62608f32c367fa.tar.bz2 Ishtar-fd89abf54954a22534d769f27a62608f32c367fa.zip |
Rstore lost parcel
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index b4c7bc617..d7cf67849 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -2250,8 +2250,9 @@ class OperationWizardModifTest(WizardTest, OperationInitTest, TestCase): # with no attach the parcel is deleted test_object.assertEqual(operation.parcels.count(), test_object.parcel_number) + # the parcel object is no more automatically deleted test_object.assertEqual(models.Parcel.objects.count(), - test_object.parcel_number) + test_object.parcel_number + 1) self.form_datas[0].extra_tests = [post_first_wizard] self.form_datas[1].extra_tests = [post_second_wizard] |