Update comment text

This commit is contained in:
Joseph Hunkeler 2019-01-14 14:24:10 -05:00
parent 4ecf29380a
commit bcacc40775
No known key found for this signature in database
GPG Key ID: 5C1D2774D4689768
2 changed files with 3 additions and 4 deletions

View File

@ -1 +1 @@
``--junitxml`` emits XML data compatible with JUnit's offical schema releases. ``--junitxml`` emits XML data compatible with Jenkins xUnit schemas via ``junit_family`` INI config option

View File

@ -145,9 +145,8 @@ class _NodeReporter(object):
if self.family == "xunit1": if self.family == "xunit1":
return return
# Purge attributes not permitted by this test family # Filter out attributes not permitted by this test family.
# This includes custom attributes, because they are not valid here. # Including custom attributes because they are not valid here.
# TODO: Convert invalid attributes to properties to preserve "something"
temp_attrs = {} temp_attrs = {}
for key in self.attrs.keys(): for key in self.attrs.keys():
if key in families[self.family]["testcase"]: if key in families[self.family]["testcase"]: