diff --git a/bin/tests/system/convert-junit-to-trs.py b/bin/tests/system/convert-junit-to-trs.py index b3d44b5567..9675825a50 100755 --- a/bin/tests/system/convert-junit-to-trs.py +++ b/bin/tests/system/convert-junit-to-trs.py @@ -13,7 +13,7 @@ from xml.etree import ElementTree def junit_to_trs(junit_xml): root = ElementTree.fromstring(junit_xml) - testcases = root.findall("./testsuite/testcase") + testcases = root.findall(".//testcase") if len(testcases) < 1: print(":test-result: ERROR convert-junit-to-trs.py")