summaryrefslogtreecommitdiff
path: root/archaeological_finds/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r--archaeological_finds/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index 05eef2c96..7ae81a1bb 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -366,6 +366,7 @@ class FindTest(FindInit, TestCase):
"New label"))
cr = ContextRecord.objects.get(pk=base_find.context_record.pk)
cr.label = "new-label-too"
+ cr.skip_history_when_saving = True
cr.save()
base_find = models.BaseFind.objects.get(pk=base_find.pk)
find = models.Find.objects.get(pk=find.pk)
@@ -374,6 +375,7 @@ class FindTest(FindInit, TestCase):
self.assertIn("new-label-too", base_find.external_id)
cr.operation.code_patriarche = "PAT"
+ cr.operation.skip_history_when_saving = True
cr.operation.save()
base_find = models.BaseFind.objects.get(pk=base_find.pk)
find = models.Find.objects.get(pk=find.pk)