diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-01-20 10:51:50 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-01-20 14:30:50 +0100 |
commit | 0a786119c7539c28799ee3acfec751215fa10850 (patch) | |
tree | e68a6fe2c54f790457ba5ad0f7fbee7b86ca035e /functest/core/vnf_base.py | |
parent | 719c13ccf1e321c536d7f7dbba06bdd544ffc968 (diff) |
bug fix case name for VNFonboarding
the case paramter was not provided to the anstraction class
Change-Id: I42ba63a3b4fd20f6d076f20369fed56715237640
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest/core/vnf_base.py')
-rw-r--r-- | functest/core/vnf_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/core/vnf_base.py b/functest/core/vnf_base.py index 9d8b6dc4..4d019858 100644 --- a/functest/core/vnf_base.py +++ b/functest/core/vnf_base.py @@ -35,6 +35,7 @@ class VnfOnBoardingBase(base.TestcaseBase): self.details['orchestrator'] = {} self.details['vnf'] = {} self.details['test_vnf'] = {} + self.images = {} try: self.tenant_name = CONST.__getattribute__( 'vnf_{}_tenant_name'.format(self.case_name)) @@ -44,7 +45,7 @@ class VnfOnBoardingBase(base.TestcaseBase): raise Exception("Unknown VNF case=" + self.case_name) try: - self.tenant_images = CONST.__getattribute__( + self.images = CONST.__getattribute__( 'vnf_{}_tenant_images'.format(self.case_name)) except: self.logger.warn("No tenant image defined for this VNF") |