From fd8334dd51d63df817a2057cb3298c125cf310b9 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: I1d8cb6ccdfc4bd82c581bcce74e2d573bd306fda --- src/onaptests/steps/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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