aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/instantiate/vnf_ala_carte.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-10-13 09:36:34 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-13 09:36:34 +0000
commit6276bed4df9b8458c4b6805edab81652fb15de76 (patch)
tree033870a5864fc9a7f2d172bb5cbf4c29660e4302 /src/onaptests/steps/instantiate/vnf_ala_carte.py
parent3665193f16a9be666fce10c562bdf459c95c22b2 (diff)
parentded9ae3b507b9687a68cc00dfc75e13130be13ff (diff)
Merge "Revert "Create basic_cnf test leveraging onapsdk""
Diffstat (limited to 'src/onaptests/steps/instantiate/vnf_ala_carte.py')
-rw-r--r--src/onaptests/steps/instantiate/vnf_ala_carte.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/onaptests/steps/instantiate/vnf_ala_carte.py b/src/onaptests/steps/instantiate/vnf_ala_carte.py
index 9fa7576..0ab498d 100644
--- a/src/onaptests/steps/instantiate/vnf_ala_carte.py
+++ b/src/onaptests/steps/instantiate/vnf_ala_carte.py
@@ -119,6 +119,8 @@ class YamlTemplateVnfAlaCarteInstantiateStep(YamlTemplateBaseStep):
Exception: VNF cleaning failed
"""
+ super().cleanup()
+
for vnf_instance in self._service_instance.vnf_instances:
vnf_deletion = vnf_instance.delete()
nb_try = 0
@@ -133,4 +135,3 @@ class YamlTemplateVnfAlaCarteInstantiateStep(YamlTemplateBaseStep):
else:
self._logger.error("VNF deletion %s failed", vnf_instance.name)
raise Exception("VNF Cleanup failed")
- super().cleanup()