Loading scripts/parse_xml_report.py +69 −69 Original line number Diff line number Diff line Loading @@ -112,8 +112,10 @@ if __name__ == "__main__": results[fmt][cat] = {} count = {"PASS": 0, "FAIL": 0, "ERROR": 0} # filter out skipped testcases testcases = [tc for tc in testcases if tc.find(".//skipped") is not None] for testcase in testcases: if testcase.find(".//skipped") is None: if testcase.get("file") is None: fulltestname = ( testcase.get("classname").replace(".", "/") Loading Loading @@ -175,9 +177,7 @@ if __name__ == "__main__": for propertyname, propertyvalue in zip( PROPERTIES, properties_values[s] ): results[fmt][cat][fulltestname_split][propertyname] = ( propertyvalue ) results[fmt][cat][fulltestname_split][propertyname] = propertyvalue else: results[fmt][cat][fulltestname] = {"Result": testresult} for propertyname, propertyvalue in zip(PROPERTIES, properties_values): Loading Loading
scripts/parse_xml_report.py +69 −69 Original line number Diff line number Diff line Loading @@ -112,8 +112,10 @@ if __name__ == "__main__": results[fmt][cat] = {} count = {"PASS": 0, "FAIL": 0, "ERROR": 0} # filter out skipped testcases testcases = [tc for tc in testcases if tc.find(".//skipped") is not None] for testcase in testcases: if testcase.find(".//skipped") is None: if testcase.get("file") is None: fulltestname = ( testcase.get("classname").replace(".", "/") Loading Loading @@ -175,9 +177,7 @@ if __name__ == "__main__": for propertyname, propertyvalue in zip( PROPERTIES, properties_values[s] ): results[fmt][cat][fulltestname_split][propertyname] = ( propertyvalue ) results[fmt][cat][fulltestname_split][propertyname] = propertyvalue else: results[fmt][cat][fulltestname] = {"Result": testresult} for propertyname, propertyvalue in zip(PROPERTIES, properties_values): Loading