Commit 413dc012 authored by Jérome Perrin's avatar Jérome Perrin

runTestSuite: fix running tests locally after coverage integration

parent bb9b3d1d
......@@ -141,7 +141,7 @@ def main():
args.project_title)
if test_result is not None:
os.environ['ERP5_TEST_RESULT_REVISION'] = test_result.revision
os.environ['ERP5_TEST_RESULT_ID'] = test_result.test_result_path.split('/')[-1]
os.environ['ERP5_TEST_RESULT_ID'] = (test_result.test_result_path or '').split('/')[-1]
assert revision == test_result.revision, (revision, test_result.revision)
while suite.acquire():
......
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