From 32bfebd0f8ef2dc80398bc5fe9dc5a9f793f34e7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 14 Sep 2019 19:46:50 +0200 Subject: Fix creation wizard test --- archaeological_context_records/tests.py | 1 + archaeological_finds/tests.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py index 36f73884a..0ffe04c3a 100644 --- a/archaeological_context_records/tests.py +++ b/archaeological_context_records/tests.py @@ -855,6 +855,7 @@ class ContextRecordWizardCreationTest(WizardTest, ContextRecordInit, TestCase): steps = views.record_creation_steps redirect_url = "/record_modification/selec-record_modification"\ "?open_item={last_id}" + model = models.ContextRecord form_datas = [ FormData( "Create a simple context record", diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index 76e6764b2..178a5f035 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -338,7 +338,8 @@ class TreatmentWizardCreationTest(WizardTest, FindInit, TestCase): wizard_name = 'treatment_wizard' steps = views.treatment_wizard_steps redirect_url = "/treatment_search/general-treatment_search?" \ - "open_item={last_id}" + "open_item={last_id}" + model = models.Treatment form_datas = [ FormData( 'Move treatment (planned)', -- cgit v1.2.3