Commit a75363cd authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_test_result: XXX

I searched for a good commit message, but romain will find better
parent 14dda8ea
......@@ -11,7 +11,11 @@ if test_result.getPortalType() == 'Test Result':
skips=0)
for line in test_result.objectValues(portal_type='Test Result Line'):
for prop in edit_kw:
edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)
try:
edit_kw[prop] = edit_kw[prop] + line.getProperty(prop, 0)
except TypeError as e:
context.log("", repr(e))
has_unknown_result = True
has_unknown_result = has_unknown_result or line.getStringIndex() == 'UNKNOWN'
if has_unknown_result or edit_kw['errors'] or edit_kw['failures']:
status = 'FAIL'
......
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