Merge "Enforce self.details as a collection" master
authorCedric Ollivier <cedric.ollivier@orange.com>
Sat, 23 Mar 2024 08:44:15 +0000 (08:44 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Sat, 23 Mar 2024 08:44:15 +0000 (08:44 +0000)
xtesting/core/pytest.py

index 1dadf30..a47ab55 100644 (file)
@@ -90,7 +90,7 @@ class Pytest(testcase.TestCase):
             self.__logger.info(
                 "\n\n %s \n",
                 output.getvalue().splitlines()[-1].replace('=', ''))
-            self.details = Pytest.tests
+            self.details["tests"] = Pytest.tests
             if Pytest.passed + Pytest.failed:
                 self.result = Pytest.passed / (
                     Pytest.passed + Pytest.failed) * 100