aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/onboard/vsp.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2020-11-03 15:25:58 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2020-11-04 17:23:40 +0000
commiteeeb7190de7185c9994e460cc0472e8817ab68aa (patch)
treea6385b3748f32b583b326abf016c1b8628bac254 /src/onaptests/steps/onboard/vsp.py
parent31dc9d07a9bd5c98304ae7d58e995321d3e1507f (diff)
Integration tests report enrichment
Improve the step description for better reporting Add duration step in pythonsdk-test reporting Issue-ID: TEST-271 Issue-ID: TEST-272 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I6d46cb38ae236bc578eb15982c2c0b8f2b0c0791
Diffstat (limited to 'src/onaptests/steps/onboard/vsp.py')
-rw-r--r--src/onaptests/steps/onboard/vsp.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/onaptests/steps/onboard/vsp.py b/src/onaptests/steps/onboard/vsp.py
index e0761ab..18f73d8 100644
--- a/src/onaptests/steps/onboard/vsp.py
+++ b/src/onaptests/steps/onboard/vsp.py
@@ -19,6 +19,16 @@ class VspOnboardStep(BaseStep):
super().__init__(cleanup=cleanup)
self.add_step(VendorOnboardStep(cleanup=cleanup))
+ @property
+ def description(self) -> str:
+ """Step description."""
+ return "Onboard vsp in SDC."
+
+ @property
+ def component(self) -> str:
+ """Component name."""
+ return "SDC"
+
@BaseStep.store_state
def execute(self):
"""Onboard Vsp.
@@ -48,6 +58,16 @@ class YamlTemplateVspOnboardStep(YamlTemplateBaseStep):
self.add_step(VendorOnboardStep(cleanup=cleanup))
@property
+ def description(self) -> str:
+ """Step description."""
+ return "Onboard vsp described in YAML file in SDC."
+
+ @property
+ def component(self) -> str:
+ """Component name."""
+ return "SDC"
+
+ @property
def yaml_template(self) -> dict:
"""YAML template.