From af163a7f4bd4d8c8cd5478360e7f79fd40cb0a62 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Wed, 21 Dec 2016 14:44:47 +0100 Subject: Update directory path JIRA: FUNCTEST-673 Change-Id: I91e2e8664112db5fe6474ece96e699f611a01de9 Signed-off-by: jose.lausuch --- sfc/lib/config.py | 6 +++--- 1 file 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) -- cgit 1.2.3-korg