Commit 889f5e2f authored by Łukasz Nowak's avatar Łukasz Nowak

Detect live test too.

parent 1d6c43a5
......@@ -151,7 +151,8 @@ class SlapTool(BaseTool):
####################################################
def _isTestRun(self):
if self.getPortalObject().MailHost.__class__.__name__ == 'DummyMailHost':
if self.getPortalObject().MailHost.__class__.__name__ == 'DummyMailHost' \
or self.REQUEST['test_list']:
return True
return False
......
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