summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-13 14:24:04 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-13 14:24:04 +0200
commitb387137c0b2ff9ef778561804cbfa1fb5bf70df6 (patch)
tree29dd6d7f169675220e707ddc00ba63e624da2cda
parentbefa58cafb0fdb5e7d2777b447d15dfbc739a292 (diff)
downloadIshtar-b387137c0b2ff9ef778561804cbfa1fb5bf70df6.tar.bz2
Ishtar-b387137c0b2ff9ef778561804cbfa1fb5bf70df6.zip
Fix test check for operation wizard - ter
-rw-r--r--archaeological_operations/tests.py20
1 files changed, 13 insertions, 7 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py
index ff90a92b7..bc4898b37 100644
--- a/archaeological_operations/tests.py
+++ b/archaeological_operations/tests.py
@@ -1622,10 +1622,7 @@ class OperationWizardCreationTest(WizardTest, OperationInitTest, TestCase):
url_name = 'operation_creation'
wizard_name = 'operation_wizard'
steps = views.wizard_steps
- base_ignored_steps = (
- 'towns-operation_creation', 'parcels-operation_creation',
- 'preventive-operation_creation', 'judiciary-operation_creation'
- )
+
form_datas = [
FormData(
"Create a preventive diag",
@@ -1638,7 +1635,10 @@ class OperationWizardCreationTest(WizardTest, OperationInitTest, TestCase):
'townsgeneral': [],
'parcelsgeneral': [],
},
- ignored=base_ignored_steps
+ ignored=('towns-operation_creation',
+ 'parcels-operation_creation',
+ 'judiciary-operation_creation',
+ 'preventive-operation_creation')
),
FormData(
"Create another preventive diag with same parcel name",
@@ -1651,7 +1651,10 @@ class OperationWizardCreationTest(WizardTest, OperationInitTest, TestCase):
'townsgeneral': [],
'parcelsgeneral': [],
},
- ignored=base_ignored_steps
+ ignored=('towns-operation_creation',
+ 'parcels-operation_creation',
+ 'judiciary-operation_creation',
+ 'preventive-operation_creation')
),
FormData(
"Create an operation related to a file",
@@ -1664,7 +1667,10 @@ class OperationWizardCreationTest(WizardTest, OperationInitTest, TestCase):
'towns': [],
'parcels': [],
},
- ignored=base_ignored_steps
+ ignored=('townsgeneral-operation_creation',
+ 'parcelsgeneral-operation_creation',
+ 'judiciary-operation_creation',
+ 'preventive-operation_creation')
),
]