From 9f598142c47cc6771a6b880e5e7d349633f0201f Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 23 Mar 2024 08:50:38 +0100 Subject: Enforce self.details as a collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff Signed-off-by: Cédric Ollivier (cherry picked from commit d33e1ce346faeedf4a4ce166feca871d2066a0e4) --- xtesting/core/pytest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtesting/core/pytest.py') diff --git a/xtesting/core/pytest.py b/xtesting/core/pytest.py index 1dadf300..a47ab551 100644 --- a/xtesting/core/pytest.py +++ b/xtesting/core/pytest.py @@ -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 -- cgit 1.2.3-korg