aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/cloud/customer_service_subscription_create.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2020-10-06 09:56:13 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2020-10-06 10:25:28 +0000
commit84a44a0cf70e2e55a13e4e994836ee074b7039aa (patch)
tree4a5cd2706061e5147381f87874197777448d85ca /src/onaptests/steps/cloud/customer_service_subscription_create.py
parentc166b498dd792bafc22672d56c15abc5714898ab (diff)
Collect steps execution result
Create a decorator to collect step execution result and store them in storage class. Storage class prepare a dictionary with step class name and execution result. Issue-ID: INT-1733 Change-Id: I9c4030a0740085a9acca461c1581683c469ecbcf Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'src/onaptests/steps/cloud/customer_service_subscription_create.py')
-rw-r--r--src/onaptests/steps/cloud/customer_service_subscription_create.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/onaptests/steps/cloud/customer_service_subscription_create.py b/src/onaptests/steps/cloud/customer_service_subscription_create.py
index ebe478f..707d79b 100644
--- a/src/onaptests/steps/cloud/customer_service_subscription_create.py
+++ b/src/onaptests/steps/cloud/customer_service_subscription_create.py
@@ -18,6 +18,7 @@ class CustomerServiceSubscriptionCreateStep(BaseStep):
super().__init__(cleanup=cleanup)
self.add_step(CustomerCreateStep(cleanup=cleanup))
+ @BaseStep.store_state
def execute(self):
"""Create customer service subsription.