Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
aa77eec
)
Enforce self.details as a collection
41/74541/1
author
Cédric Ollivier
<cedric.ollivier@orange.com>
Sat, 23 Mar 2024 07:50:38 +0000
(08:50 +0100)
committer
Cédric Ollivier
<cedric.ollivier@orange.com>
Sat, 23 Mar 2024 08:45:04 +0000
(09:45 +0100)
Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
d33e1ce346faeedf4a4ce166feca871d2066a0e4
)
xtesting/core/pytest.py
patch
|
blob
|
history
diff --git
a/xtesting/core/pytest.py
b/xtesting/core/pytest.py
index
1dadf30
..
a47ab55
100644
(file)
--- 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