summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/tests.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index e7b520fb6..e84d86836 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -282,7 +282,10 @@ class FindWizardCreationTest(WizardTest, FindInit, TestCase):
url_name = "find_creation"
wizard_name = "find_wizard"
steps = views.find_creation_steps
- redirect_url = "/find_modification/selec-find_modification?open_item=" "{last_id}"
+ redirect_url = [
+ "/find_modification/selec-find_modification?open_item={last_id}",
+ "/find_modification/selecw-find_modification?open_item={last_id}",
+ ]
model = models.Find
form_datas = [
FormData(
@@ -1136,6 +1139,7 @@ class FindTest(FindInit, TestCase):
cr = ContextRecord.objects.get(pk=base_find.context_record.pk)
cr.label = "new-label-too"
cr.skip_history_when_saving = True
+ cr._no_down_model_update = False
cr.save()
base_find = models.BaseFind.objects.get(pk=base_find.pk)
find = models.Find.objects.get(pk=find.pk)
@@ -1145,6 +1149,7 @@ class FindTest(FindInit, TestCase):
cr.operation.code_patriarche = "PAT"
cr.operation.skip_history_when_saving = True
+ cr.operation._no_down_model_update = False
cr.operation.save()
base_find = models.BaseFind.objects.get(pk=base_find.pk)
find = models.Find.objects.get(pk=find.pk)