diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-03-09 11:49:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:27 +0200 |
commit | 9f8a4a5bc5ff60a93e5c7db2bb21e56e37af724f (patch) | |
tree | 82e768cae6fda8f640d8e301e0110867310c8848 | |
parent | e33f46981bb0f91b979994aca1b2e48b65d365f1 (diff) | |
download | Ishtar-9f8a4a5bc5ff60a93e5c7db2bb21e56e37af724f.tar.bz2 Ishtar-9f8a4a5bc5ff60a93e5c7db2bb21e56e37af724f.zip |
Disable back test for warehouse creation wizard
-rw-r--r-- | archaeological_warehouse/tests.py | 3 | ||||
-rw-r--r-- | ishtar_common/tests.py | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index f05a0e9dd..bdd48536b 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -33,6 +33,9 @@ class WarehouseWizardCreationTest(WizardTest, FindInit, TestCase): url_name = 'warehouse_creation' wizard_name = 'warehouse_wizard' steps = views.warehouse_creation_steps + # back is messing with divisions but it is not a real problem because + # reinit is necessary + test_back = False form_datas = [ FormData( 'Warehouse creation', diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 111626416..db2e956ad 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -333,6 +333,7 @@ class WizardTest(object): steps = None condition_dict = None form_datas = [] + test_back = True def setUp(self): self.username, self.password, self.user = create_superuser() @@ -442,7 +443,7 @@ class WizardTest(object): continue if not previous_step: previous_step = idx - elif not back_tested: + elif self.test_back and not back_tested: # test going back on a form response = self.wizard_post( self.client, url, current_step, None, |