diff --git a/tests/openfl_e2e/requirements.txt b/tests/openfl_e2e/requirements.txt index de48d405e4d..e9190362e74 100644 --- a/tests/openfl_e2e/requirements.txt +++ b/tests/openfl_e2e/requirements.txt @@ -1,7 +1,7 @@ +lxml pytest -pytest-xdist -pytest-ordering pytest-html -lxml +pytest-ordering +pytest-xdist pyyaml -ruamel.yaml \ No newline at end of file +ruamel.yaml diff --git a/tests/openfl_e2e/utils/xml_helper.py b/tests/openfl_e2e/utils/xml_helper.py index 8d37104b497..56ced867db5 100644 --- a/tests/openfl_e2e/utils/xml_helper.py +++ b/tests/openfl_e2e/utils/xml_helper.py @@ -8,8 +8,11 @@ # Initialize the XML parser parser = etree.XMLParser(recover=True, encoding='utf-8') tree = ET.parse("results/results.xml", parser=parser) + +# Get the root element testsuites = tree.getroot() + def get_test_status(result): """ Get the test status/verdict