summaryrefslogtreecommitdiff
path: root/archaeological_files/tests.py
diff options
context:
space:
mode:
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
commitfd89abf54954a22534d769f27a62608f32c367fa (patch)
tree86516f6293627e14d0d9a3ad35dd8d7dd17e189c /archaeological_files/tests.py
parent3a8aa349b06129c4a8f591d56147ce0c97d4d9c5 (diff)
downloadIshtar-fd89abf54954a22534d769f27a62608f32c367fa.tar.bz2
Ishtar-fd89abf54954a22534d769f27a62608f32c367fa.zip
Rstore lost parcel
Diffstat (limited to 'archaeological_files/tests.py')
-rw-r--r--archaeological_files/tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_files/tests.py b/archaeological_files/tests.py
index 7255f677f..9f3693225 100644
--- a/archaeological_files/tests.py
+++ b/archaeological_files/tests.py
@@ -202,8 +202,9 @@ class FileTest(TestCase, FileInit):
fle.parcels.add(parcel)
fle.parcels.clear() # no signal raised... should resave
Parcel.objects.filter(pk=parcel.pk).all()[0].save()
- # our parcel has no operation attached and should be deleted
- self.assertEqual(parcel_nb - 1, Parcel.objects.count())
+ # our parcel has no operation attached and... is no more automatically
+ # deleted
+ self.assertEqual(parcel_nb, Parcel.objects.count())
def test_show(self):
c = Client()