aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)