diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-08-04 11:25:28 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-08-04 11:25:28 +0000 |
commit | e9a6de52ff2a4c71d5bf797b36906766f28abab7 (patch) | |
tree | 1dbac9e7e23192fad50b52668b33b068420f5731 /src/onaptests/steps | |
parent | f8e444d725207e538875fb25f6637a80f0b34c44 (diff) |
[TEST] Get cleanup reports from substeps also if parent step has no cleanup report
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
Diffstat (limited to 'src/onaptests/steps')
-rw-r--r-- | src/onaptests/steps/base.py | 4 |
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: |