diff options
Diffstat (limited to 'archaeological_operations/tests.py')
| -rw-r--r-- | archaeological_operations/tests.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 73f462895..484e2b259 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -151,7 +151,7 @@ class ImportOperationTest(TestCase):          self.assertTrue(current_nb == (old_nb + 2))          # and well imported          last_parcels = models.Parcel.objects.order_by('-pk').all()[0:2] -        external_ids = sorted(['XXXX', 'YYYY']) +        external_ids = sorted(['XXXX', 'YY55'])          parcel_numbers = sorted(['42', '55'])          sections = sorted(['ZX', 'YY'])          self.assertEqual(external_ids, @@ -164,6 +164,9 @@ class ImportOperationTest(TestCase):          towns_ope = last_ope.towns.all()          for p in last_parcels:              self.assertTrue(p.town in towns_ope) +        self.assertEqual(models.Parcel.objects.get(parcel_number='55', +                                                   section='YY').external_id, +                        'YY55')      def testParseParcels(self): | 
