summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-12-21 14:44:47 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-12-21 14:46:30 +0100
commitaf163a7f4bd4d8c8cd5478360e7f79fd40cb0a62 (patch)
tree93c29fe5c43462457814786cf9672585268a5b79
parentabadd4c0bbc15bbf73e58c02a8f4a61f2a419f7a (diff)
Update directory path
JIRA: FUNCTEST-673 Change-Id: I91e2e8664112db5fe6474ece96e699f611a01de9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r--sfc/lib/config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfc/lib/config.py b/sfc/lib/config.py
index 7bbc18d6..c415627f 100644
--- a/sfc/lib/config.py
+++ b/sfc/lib/config.py
@@ -11,7 +11,7 @@
import os
import yaml
-import functest.utils.functest_constants as ft_constants
+from functest.utils.constants import CONST
import functest.utils.functest_logger as ft_logger
import functest.utils.functest_utils as ft_utils
@@ -27,12 +27,12 @@ class CommonConfig(object):
def __init__(self):
self.line_length = 30
self.test_db = ft_utils.get_functest_config("results.test_db_url")
- self.repo_path = ft_constants.SFC_REPO_DIR
+ self.repo_path = CONST.dir_repo_sfc
self.sfc_test_dir = os.path.join(
self.repo_path, "sfc", "tests", "functest")
self.vnfd_dir = os.path.join(self.sfc_test_dir, "vnfd-templates")
self.functest_results_dir = os.path.join(
- ft_constants.FUNCTEST_RESULTS_DIR, "odl-sfc")
+ CONST.dir_results, "odl-sfc")
self.config_file = os.path.join(self.sfc_test_dir, "config.yaml")
self.fuel_master_ip = ft_utils.get_parameter_from_yaml(
"defaults.fuel_master_ip", self.config_file)