aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2021-08-19 13:11:25 +0000
committerGerrit Code Review <gerrit@onap.org>2021-08-19 13:11:25 +0000
commit0c9f5a021a6f4704e5c09a2db70160cd1d7e074d (patch)
treea4b23fefb1a4e9f518e20ccdd037b9d7c7e63065 /src
parentf49984630031265bac0a34ee32506dfc8538d4db (diff)
parente9a6de52ff2a4c71d5bf797b36906766f28abab7 (diff)
Merge "[TEST] Get cleanup reports from substeps also if parent step has no cleanup report"
Diffstat (limited to 'src')
-rw-r--r--src/onaptests/steps/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onaptests/steps/base.py b/src/onaptests/steps/base.py
index 6d43fbc..744fc7b 100644
--- 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: