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

test_result: display retried tests

parent 704eb82a
......@@ -103,6 +103,7 @@
<string>my_failures</string>
<string>my_errors</string>
<string>my_skips</string>
<string>my_test_result_retry_count</string>
<string>my_string_index</string>
<string>my_translated_simulation_state_title</string>
</list>
......
......@@ -4,4 +4,6 @@ return [Object(duration=int(context.getProperty('duration', 0)),
all_tests=context.getProperty('all_tests'),
errors=context.getProperty('errors'),
failures=context.getProperty('failures'),
skips=context.getProperty('skips'))]
skips=context.getProperty('skips'),
test_result_retry_count=context.getProperty('test_result_retry_count', 0),
)]
......@@ -107,6 +107,7 @@
<string>my_failures</string>
<string>my_errors</string>
<string>my_skips</string>
<string>my_test_result_retry_count</string>
<string>my_string_index</string>
<string>my_translated_simulation_state_title</string>
</list>
......
......@@ -371,6 +371,10 @@
<string>skips</string>
<string>Skips</string>
</tuple>
<tuple>
<string>test_result_retry_count</string>
<string>Retries</string>
</tuple>
<tuple>
<string>string_index</string>
<string>Result</string>
......
......@@ -14,7 +14,8 @@ if test_result.getPortalType() == 'Test Result':
all_tests=0,
errors=0,
failures=0,
skips=0)
skips=0,
test_result_retry_count=0)
for line in test_result.objectValues(portal_type='Test Result Line'):
for prop in edit_kw:
try:
......
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