Skip to content
Snippets Groups Projects
Commit 81e7f3ba authored by Teake Nutma's avatar Teake Nutma
Browse files

Simplify case_dictionary

parent 9a6b2274
Branches
No related merge requests found
......@@ -6,12 +6,11 @@ from junitparser import JUnitXml, TestSuite
def case_dictionary(report):
result = {}
for suite in report:
for case in suite:
key = (case.classname, case.name)
result[key] = case
return result
return {
(case.classname, case.name): case
for suite in report
for case in suite
}
def compare_reports(path_before, path_after, path_out):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment