Commit 19257da2 authored by Jérome Perrin's avatar Jérome Perrin

fixup! test_result: a test cannot be successful if there are unknown test result lines

manually edited xml ...
parent dd9aabd4
No related merge requests found
......@@ -64,7 +64,7 @@ if test_result.getPortalType() == \'Test Result\':\n
for line in test_result.objectValues(portal_type=\'Test Result Line\'):\n
for prop in edit_kw:\n
edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)\n
has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'\n
has_unknown_result = has_unknown_result or line.getStringIndex() == \'UNKNOWN\'\n
if has_unknown_result or edit_kw[\'errors\'] or edit_kw[\'failures\']:\n
status = \'FAIL\'\n
else:\n
......
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