diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-27 12:33:14 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-27 12:33:14 +0100 |
commit | ea5150055203a014b4dc8fa6098634eb211a81b6 (patch) | |
tree | 4d0daee448a5d8868685f90a23d1671579fd3609 /archaeological_operations/tests.py | |
parent | 8b77d3f69f560aac666aa2daba4edd61d062c9d0 (diff) | |
download | Ishtar-ea5150055203a014b4dc8fa6098634eb211a81b6.tar.bz2 Ishtar-ea5150055203a014b4dc8fa6098634eb211a81b6.zip |
Operations: fix bulk update of context records for old postgresql version (refs #3472)
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index ab485572a..25f278880 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -806,6 +806,7 @@ class OperationTest(TestCase, OperationInitTest): self.assertEqual(ope_id, '{}2011-1'.format( settings.ISHTAR_DEF_OPE_PREFIX)) + operation = models.Operation.objects.get(pk=operation.pk) operation.code_patriarche = '666' operation.save() cr = ContextRecord.objects.get(pk=cr.pk) |