aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/sdn/onos/teston/adapters
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-06-02 08:19:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-02 08:19:12 +0000
commit8fde61d643c17b012659d8343ab3c06526958a05 (patch)
tree58dd3f40df636e8726b07aa6598ff7c03544a54d /functest/opnfv_tests/sdn/onos/teston/adapters
parentcce3644b0b0186676de974d32e02219e2ae5dc50 (diff)
parent8e6b5934deef23386b8047b2f30a481ce42d32b8 (diff)
Merge "Use CONST to retrieve db_url rather than getter function"
Diffstat (limited to 'functest/opnfv_tests/sdn/onos/teston/adapters')
-rw-r--r--functest/opnfv_tests/sdn/onos/teston/adapters/foundation.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/opnfv_tests/sdn/onos/teston/adapters/foundation.py b/functest/opnfv_tests/sdn/onos/teston/adapters/foundation.py
index f9eee7af..aed98ee4 100644
--- a/functest/opnfv_tests/sdn/onos/teston/adapters/foundation.py
+++ b/functest/opnfv_tests/sdn/onos/teston/adapters/foundation.py
@@ -18,7 +18,6 @@ import re
import time
from functest.utils.constants import CONST
-import functest.utils.functest_utils as ft_utils
class Foundation(object):
@@ -55,7 +54,7 @@ class Foundation(object):
"""
Get Default Parameters value
"""
- self.Result_DB = ft_utils.get_db_url()
+ self.Result_DB = CONST.__getattribute__("results_test_db_url")
self.masterusername = CONST.__getattribute__('ONOS_onosbench_username')
self.masterpassword = CONST.__getattribute__('ONOS_onosbench_password')
self.agentusername = CONST.__getattribute__('ONOS_onoscli_username')