From 3f89ce129fb00647fa58bb273235ad3a2c8a0ba9 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Mon, 29 Jan 2018 16:13:23 +0100 Subject: Adapt change in functest The variable TEST_DB_URL must be read as a env. variable since this patch": https://gerrit.opnfv.org/gerrit/#/c/49757/ Change-Id: I8f77acbbb2fe949f5fbe8a3f983c49224d893bcc Signed-off-by: Manuel Buil --- sfc/lib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfc/lib/config.py b/sfc/lib/config.py index bc955d8b..7fb42e3e 100644 --- a/sfc/lib/config.py +++ b/sfc/lib/config.py @@ -29,7 +29,7 @@ class CommonConfig(object): def __init__(self): self.line_length = 30 - self.test_db = ft_utils.get_functest_config("results.test_db_url") + self.test_db = os.environ['TEST_DB_URL'] self.functest_repo_path = os.path.dirname(functest.__file__) self.functest_logging_api = os.path.join(self.functest_repo_path, "ci", "logging.ini") -- cgit 1.2.3-korg