From ca74c6ae7ad7dfd03f547fcd706bdfcdde1b20b4 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Mon, 15 Feb 2021 21:33:17 +0000 Subject: [TEST] Collect steps cleanup reports Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d --- src/onaptests/steps/instantiate/k8s_profile_create.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/onaptests/steps/instantiate/k8s_profile_create.py') diff --git a/src/onaptests/steps/instantiate/k8s_profile_create.py b/src/onaptests/steps/instantiate/k8s_profile_create.py index c2692c8..d555d46 100644 --- a/src/onaptests/steps/instantiate/k8s_profile_create.py +++ b/src/onaptests/steps/instantiate/k8s_profile_create.py @@ -151,6 +151,7 @@ class K8SProfileStep(BaseStep): ####### Upload artifact for created profile ############################## profile.upload_artifact(open(settings.K8S_PROFILE_ARTIFACT_PATH, 'rb').read()) + @BaseStep.store_state(cleanup=True) def cleanup(self) -> None: """Cleanup K8S profiles. """ -- cgit 1.2.3-korg