Commit 4bc66201 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix typo in test runner.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1725 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b24a92f6
......@@ -326,7 +326,7 @@ if __name__ == "__main__":
# check arguments
if bool(options.sender) ^ bool(options.recipient):
sys.exit('Need a sender and recipients to mail report')
if not (options.unit o options.functional):
if not (options.unit or options.functional):
sys.exit('Nothing to run, please set -f and/or -u flag')
mail_server = options.server or '127.0.0.1:25'
mail_server = mail_server.split(':')
......
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