From 513aceb9241806f7350ec7fc1ac49d3b75bc953a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 25 Feb 2017 12:45:06 +0100 Subject: Operations: fix bulk update of context records (refs #3472) --- archaeological_operations/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index f0d07c33c..18548b0b1 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -811,7 +811,7 @@ class OperationTest(TestCase, OperationInitTest): operation.save() cr = ContextRecord.objects.get(pk=cr.pk) ope_id, parcel_sec, parcel_nb, cr_label = cr.cached_label.split(' | ') - self.assertEqual(ope_id, '666'.format(settings.ISHTAR_OPE_PREFIX)) + self.assertEqual(ope_id, '{}666'.format(settings.ISHTAR_OPE_PREFIX)) class OperationSearchTest(TestCase, OperationInitTest): -- cgit v1.2.3