From e9a6de52ff2a4c71d5bf797b36906766f28abab7 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Wed, 4 Aug 2021 11:25:28 +0000 Subject: [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 Change-Id: Id6edabf77e38c82b6075947fb77b23e4574d01cd --- src/onaptests/steps/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/onaptests') 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: -- cgit 1.2.3-korg