diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-06-21 08:33:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-21 08:33:02 +0000 |
commit | 51899de7927bbf6be76639508ae2970046add625 (patch) | |
tree | a2cc98e1a98b012e81d82ac8653932c00ea8ba3e /functest/opnfv_tests/vnf/ims/clearwater_ims_base.py | |
parent | e7ab53553d719b0fb35b4a74cd0bbc9572c7a48d (diff) | |
parent | 997a42438f2253aa9fe640c1cbdd8ea461901948 (diff) |
Merge "Remove all references to /home/opnfv/repos/functest"
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/clearwater_ims_base.py')
-rw-r--r-- | functest/opnfv_tests/vnf/ims/clearwater_ims_base.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py b/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py index a645dfb2..c1a35be3 100644 --- a/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py +++ b/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py @@ -9,6 +9,7 @@ import json import logging import os +import pkg_resources import shutil import requests @@ -27,10 +28,8 @@ class ClearwaterOnBoardingBase(vnf.VnfOnBoarding): def __init__(self, **kwargs): self.logger = logging.getLogger(__name__) super(ClearwaterOnBoardingBase, self).__init__(**kwargs) - self.case_dir = os.path.join( - CONST.__getattribute__('dir_functest_test'), - 'vnf', - 'ims') + self.case_dir = pkg_resources.resource_filename( + 'functest', 'opnfv_tests/vnf/ims') self.data_dir = CONST.__getattribute__('dir_ims_data') self.result_dir = os.path.join(CONST.__getattribute__('dir_results'), self.case_name) |