summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index 095956090..a00f8a174 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -118,6 +118,9 @@ class WizardTest(object):
def post_wizard(self):
pass
+ def pass_test(self):
+ return False
+
def check_response(self, response, current_step):
if "errorlist" in response.content:
soup = Soup(response.content)
@@ -131,6 +134,8 @@ class WizardTest(object):
u" ".join(errors), current_step))
def test_wizard(self):
+ if self.pass_test():
+ return
url = reverse(self.url_name)
self.pre_wizard()
for test_form_data in self.form_datas: