summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-01-29 16:13:23 +0100
committerBrady Johnson <bjohnson@inocybe.com>2018-01-31 14:29:14 +0000
commit3f89ce129fb00647fa58bb273235ad3a2c8a0ba9 (patch)
tree8a5dabbbf0ef351bd8d59afafca42ccdea33875a
parentd436fafbde49d78e2e39a8a63c31747799531ca1 (diff)
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 <mbuil@suse.com>
-rw-r--r--sfc/lib/config.py2
1 files changed, 1 insertions, 1 deletions
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")