diff options
-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, |