diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-06-26 20:45:27 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-06-26 20:45:50 +0200 |
commit | ff154f1174a1272ee7fd07e6c7974c3fb0ef5fc7 (patch) | |
tree | 1e4c7c1958d8fa5f75fdbb8236b14990ddc5800b /archaeological_finds/tests.py | |
parent | 737587eda4391494b1c44caa5e21ad7c2ff9ef50 (diff) | |
download | Ishtar-ff154f1174a1272ee7fd07e6c7974c3fb0ef5fc7.tar.bz2 Ishtar-ff154f1174a1272ee7fd07e6c7974c3fb0ef5fc7.zip |
✅ fix tests
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r-- | archaeological_finds/tests.py | 7 |
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) |