diff options
Diffstat (limited to 'archaeological_files/tests.py')
| -rw-r--r-- | archaeological_files/tests.py | 5 | 
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() | 
