We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c103c5c commit 02262c8Copy full SHA for 02262c8
bootstrap/bootstrap.py
@@ -49,7 +49,7 @@ def main():
49
line_regex = re.compile('^(.*?):(\\d+?):\\s(.*)$')
50
51
if 0 == len(ansible_lint_output):
52
- testcase = ET.SubElement(testsuite, "testcase", name="dummy_testcase.py")
+ ET.SubElement(testsuite, "testcase", name="dummy_testcase.py")
53
else:
54
parsed_lines = []
55
for line in ansible_lint_output:
@@ -64,7 +64,9 @@ def main():
64
"text": line_match.group(3),
65
}
66
parsed_lines.append(line_data)
67
+
68
testcase = ET.SubElement(testsuite, "testcase", name=line_data['filename'])
69
70
ET.SubElement(
71
testcase,
72
"failure",
0 commit comments