summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 19:46:50 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 19:46:50 +0200
commit32bfebd0f8ef2dc80398bc5fe9dc5a9f793f34e7 (patch)
treef131d19caa3c26f21394662761bd866b02c3a280
parent9f6e60eb9125e3becc471377f289d2c815257166 (diff)
downloadIshtar-32bfebd0f8ef2dc80398bc5fe9dc5a9f793f34e7.tar.bz2
Ishtar-32bfebd0f8ef2dc80398bc5fe9dc5a9f793f34e7.zip
Fix creation wizard test
-rw-r--r--archaeological_context_records/tests.py1
-rw-r--r--archaeological_finds/tests.py3
2 files changed, 3 insertions, 1 deletions
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)',