Commit a8866848 authored by Jérome Perrin's avatar Jérome Perrin

Fix passing --bt5_path to slapos generated runUnitTest

the separator was not properly taken into account, also we want to give
priority to argument that is passed
parent 44d46777
......@@ -689,8 +689,8 @@ def main(argument_list=None):
os.environ["erp5_tests_data_fs_path"] = arg
os.environ["erp5_tests_recreate_catalog"] = "1"
elif opt == '--bt5_path':
os.environ["erp5_tests_bt5_path"] = \
os.environ.get("erp5_tests_bt5_path", "") + arg
os.environ["erp5_tests_bt5_path"] = ','.join([arg] +
os.environ.get('erp5_tests_bt5_path', '').split(','))
elif opt == '--firefox_bin':
os.environ["firefox_bin"] = arg
elif opt == '--xvfb_bin':
......
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