aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/instantiate/msb_k8s.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-02-15 21:33:17 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-02-16 10:19:54 +0000
commitca74c6ae7ad7dfd03f547fcd706bdfcdde1b20b4 (patch)
tree12a18725fb8ba56a7d8dd8b9653fc03417384374 /src/onaptests/steps/instantiate/msb_k8s.py
parent1b96f9912524dddf6d656e096626800df32db0be (diff)
[TEST] Collect steps cleanup reports
Collect reports of steps cleanup and present them in report Issue-ID: TEST-305 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Ie288c85a381c6c53e7ffeb441f07e474a135c42d
Diffstat (limited to 'src/onaptests/steps/instantiate/msb_k8s.py')
-rw-r--r--src/onaptests/steps/instantiate/msb_k8s.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/onaptests/steps/instantiate/msb_k8s.py b/src/onaptests/steps/instantiate/msb_k8s.py
index eac8a75..e6186f5 100644
--- a/src/onaptests/steps/instantiate/msb_k8s.py
+++ b/src/onaptests/steps/instantiate/msb_k8s.py
@@ -38,6 +38,7 @@ class CreateInstanceStep(BaseStep):
rb_name=settings.PNF_RB_NAME,
rb_version=settings.PNF_RB_VERSION)
+ @BaseStep.store_state(cleanup=True)
def cleanup(self) -> None:
"""Delete instance."""
if self.instance: