Use extra-task as summary in test export
While extra-task doesn't say much about test's purpose it states which
component it is. Such information is necessary for review of integration
results or where many components are mixed.
@@ -54,7 +54,8 @@ def export_to_nitrate(test, create, general):
raise ConvertError("Nitrate test case id not found.")
# Summary
- summary = test.node.get('extra-summary', test.summary)
+ summary = test.node.get(
+ 'extra-summary', test.node.get('extra-task', test.summary))
if summary:
nitrate_case.summary = summary
echo(style('summary: ', fg='green') + summary)
