aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core/feature_base.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-12-21 11:02:45 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-12-21 18:03:04 +0800
commit231b742d9db18ee347d786dd6cb42c0ca67ad5bc (patch)
tree5836354b08bc81aa0ce3c7826ebdbfe369780146 /functest/core/feature_base.py
parent52c088c85470057ffc4f974a98b74a9f6ec62f40 (diff)
refactor vping using new constants provider
JIRA: FUNCTEST-673 Change-Id: I56ac66662b53593257609fa87c16df52440f7458 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'functest/core/feature_base.py')
-rw-r--r--functest/core/feature_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/feature_base.py b/functest/core/feature_base.py
index 01a27f30..780170d4 100644
--- a/functest/core/feature_base.py
+++ b/functest/core/feature_base.py
@@ -11,7 +11,7 @@ class FeatureBase(base.TestcaseBase):
self.project_name = project
self.case_name = case
self.cmd = cmd
- self.repo = self.get_conf('general.directories.{}'.format(repo))
+ self.repo = self.get_conf('general.dir.{}'.format(repo))
self.result_file = self.get_result_file()
self.logger = ft_logger.Logger(project).getLogger()
@@ -44,7 +44,7 @@ class FeatureBase(base.TestcaseBase):
return exit_code
def get_result_file(self):
- dir = self.get_conf('general.directories.dir_results')
+ dir = self.get_conf('general.dir.results')
return "{}/{}.log".format(dir, self.project_name)
def log_results(self):