aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/ims/cloudify_ims.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-02-20 10:17:18 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-20 10:17:18 +0000
commit1a04979f3fff45117754653e20758d2ac6a02615 (patch)
tree001bd04d4370e232efb1a253ceb8e84ca5845a94 /functest/opnfv_tests/vnf/ims/cloudify_ims.py
parentde3160230a010e5fd2aaf03630e31e807aeee34f (diff)
parentedac6a883e0b80724140305258649b4891a2d14c (diff)
Merge "Remove last CONST.__getattribute__()"
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/cloudify_ims.py')
-rw-r--r--functest/opnfv_tests/vnf/ims/cloudify_ims.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
index 278328abf..a6b87ea35 100644
--- a/functest/opnfv_tests/vnf/ims/cloudify_ims.py
+++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
@@ -58,8 +58,8 @@ class CloudifyIms(clearwater_ims_base.ClearwaterOnBoardingBase):
# Retrieve the configuration
try:
- self.config = CONST.__getattribute__(
- 'vnf_{}_config'.format(self.case_name))
+ self.config = getattr(
+ CONST, 'vnf_{}_config'.format(self.case_name))
except Exception:
raise Exception("VNF config file not found")