Merge "xunit publisher was wrong with multiple types"

This commit is contained in:
Jenkins 2013-07-19 17:28:31 +00:00 committed by Gerrit Code Review
commit 8f3bf8a273
1 changed files with 1 additions and 1 deletions

View File

@ -557,9 +557,9 @@ def xunit(parser, xml_parent, data):
supported_types.append(configured_type)
# Generate XML for each of the supported framework types
xmltypes = XML.SubElement(xunit, 'types')
for supported_type in supported_types:
framework_name = supported_type.keys()[0]
xmltypes = XML.SubElement(xunit, 'types')
xmlframework = XML.SubElement(xmltypes,
types_to_plugin_types[framework_name])