fix(test_stats.py)_: report path
This commit is contained in:
parent
9112e5cd3e
commit
6bd543a8e4
|
@ -6,8 +6,7 @@ from collections import defaultdict
|
||||||
|
|
||||||
test_stats = defaultdict(lambda: defaultdict(int))
|
test_stats = defaultdict(lambda: defaultdict(int))
|
||||||
|
|
||||||
for file in glob.glob("**/report_*.xml", recursive=True):
|
tree = ET.parse("report.xml")
|
||||||
tree = ET.parse(file)
|
|
||||||
root = tree.getroot()
|
root = tree.getroot()
|
||||||
for testcase in root.iter("testcase"):
|
for testcase in root.iter("testcase"):
|
||||||
test_name = testcase.attrib["name"]
|
test_name = testcase.attrib["name"]
|
||||||
|
|
Loading…
Reference in New Issue