Commit bc6a1b08 authored by Romain Courteaud's avatar Romain Courteaud

slapos_slap_tool: allow to disable isTestRun

parent a677b8ec
......@@ -163,6 +163,8 @@ class SlapTool(BaseTool):
####################################################
def _isTestRun(self):
if self.REQUEST.get('disable_isTestRun', False):
return False
if issubclass(self.getPortalObject().MailHost.__class__, DummyMailHostMixin) \
or self.REQUEST.get('test_list'):
return True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment