diff options
author | valentin boucher <valentin.boucher@orange.com> | 2017-06-13 08:20:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-13 08:20:56 +0000 |
commit | fb3ef61a03cdf2fb938d771e9d23f6435cff240f (patch) | |
tree | 9bf4162fcb7aca8aa40fde7cb58da6e254f49239 /functest/opnfv_tests/vnf/ims/opera_ims.py | |
parent | 7db24e2b6994487d225c150a20f3a91d7bf12588 (diff) | |
parent | 58667cba215c2cb999d6bcaf891980bda4325b42 (diff) |
Merge "Refactor core VNF class"
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/opera_ims.py')
-rw-r--r-- | functest/opnfv_tests/vnf/ims/opera_ims.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/functest/opnfv_tests/vnf/ims/opera_ims.py b/functest/opnfv_tests/vnf/ims/opera_ims.py index 8c33d16e..d420705a 100644 --- a/functest/opnfv_tests/vnf/ims/opera_ims.py +++ b/functest/opnfv_tests/vnf/ims/opera_ims.py @@ -16,6 +16,7 @@ from opera import openo_connect import requests import functest.opnfv_tests.vnf.ims.clearwater_ims_base as clearwater_ims_base +from functest.utils.constants import CONST class OperaIms(clearwater_ims_base.ClearwaterOnBoardingBase): @@ -25,9 +26,10 @@ class OperaIms(clearwater_ims_base.ClearwaterOnBoardingBase): kwargs["case_name"] = "opera_ims" super(OperaIms, self).__init__(**kwargs) self.logger = logging.getLogger(__name__) - self.ellis_file = os.path.join(self.result_dir, 'ellis.info') - self.live_test_file = os.path.join(self.result_dir, - 'live_test_report.json') + self.ellis_file = os.path.join( + CONST.__getattribute__('dir_results'), 'ellis.info') + self.live_test_file = os.path.join( + CONST.__getattribute__('dir_results'), 'live_test_report.json') try: self.openo_msb_endpoint = os.environ['OPENO_MSB_ENDPOINT'] except KeyError: |