Code Review
/
testsuite
/
pythonsdk-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f8e444d
)
[TEST] Get cleanup reports from substeps also if parent step has no cleanup report
94/123094/1
author
Michal Jagiello
<michal.jagiello@t-mobile.pl>
Wed, 4 Aug 2021 11:25:28 +0000
(11:25 +0000)
committer
Michal Jagiello
<michal.jagiello@t-mobile.pl>
Wed, 4 Aug 2021 11:25:28 +0000
(11:25 +0000)
Some cleanup reports are missing in pnf_macro test.
Issue-ID: TEST-357
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Id6edabf77e38c82b6075947fb77b23e4574d01cd
src/onaptests/steps/base.py
patch
|
blob
|
history
diff --git
a/src/onaptests/steps/base.py
b/src/onaptests/steps/base.py
index
6d43fbc
..
744fc7b
100644
(file)
--- a/
src/onaptests/steps/base.py
+++ b/
src/onaptests/steps/base.py
@@
-126,8
+126,8
@@
class BaseStep(ABC):
if self._cleanup:
if self._cleanup_report:
yield self._cleanup_report
-
for step in self._steps:
-
yield from step.cleanup_reports
+ for step in self._steps:
+ yield from step.cleanup_reports
@property
def name(self) -> str: