Fix reportgeneration in CI (#16113)

This commit is contained in:
Irina Efode authored and GitHub committed 2023-03-06 12:05:47 +01:00
1 parent e6a65f406d
commit 54d3641baa
1 file changed
+1 -4
@@ -88,10 +88,7 @@ def merge_xmls(xml_paths: list):
# workaround for unsaved reports
total_tests_count_xml, total_tests_count_summary = (0, 0)
for attr_name in device_results.find(op_result.tag).attrib:
if attr_name == "passrate":
continue
# TODO
if attr_name == "implemented":
if "relative_" in attr_name or attr_name == "passrate" or attr_name == "implemented":
continue
total_tests_count_xml += int(op_result.attrib.get(attr_name))
total_tests_count_summary += int(current_op_res.attrib.get(attr_name))