diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-03-23 08:50:38 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-03-23 09:44:50 +0100 |
commit | 5e8fc783d9e3efeca9c23a955801c0ac634b37f1 (patch) | |
tree | 3990f5a496cd9e4f9e1138e158a747c3a6a66f8f /xtesting | |
parent | 2631df23ebbf2104d74b80632724ef9a1c292ff9 (diff) |
Enforce self.details as a collection
Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d33e1ce346faeedf4a4ce166feca871d2066a0e4)
Diffstat (limited to 'xtesting')
-rw-r--r-- | xtesting/core/pytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |