Commit 311b705f authored by Rafael Monnerat's avatar Rafael Monnerat

test_list is not mandatory at the request.

parent 43b24a77
......@@ -152,7 +152,7 @@ class SlapTool(BaseTool):
def _isTestRun(self):
if self.getPortalObject().MailHost.__class__.__name__ == 'DummyMailHost' \
or self.REQUEST['test_list']:
or self.REQUEST.get('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