We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 999e618 commit 7fe7373Copy full SHA for 7fe7373
junit_xml/__init__.py
@@ -135,11 +135,11 @@ def build_xml_doc(self, encoding=None):
135
test_suite_attributes['package'] = decode(self.package, encoding)
136
if self.timestamp:
137
test_suite_attributes['timestamp'] = decode(self.timestamp, encoding)
138
- if self.timestamp:
+ if self.file:
139
test_suite_attributes['file'] = decode(self.file, encoding)
140
+ if self.log:
141
test_suite_attributes['log'] = decode(self.log, encoding)
142
+ if self.url:
143
test_suite_attributes['url'] = decode(self.url, encoding)
144
145
xml_element = ET.Element("testsuite", test_suite_attributes)
0 commit comments