summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/unit/common/test_config.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-07-26 14:40:56 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-07-26 14:47:38 +0800
commit19ee4c92981562586518310360a8d190877e73fb (patch)
treec89a2b05d7545b514c0fe2aad354d264bb09f91a /testapi/opnfv_testapi/tests/unit/common/test_config.py
parent6fbf0fb55e94c7e940dbd2a77c85a149b31a867e (diff)
merge swagger_base_url with ui_url
TestAPI used to have only one webpage, which is swagger_ui, now a new one webportal is added, and the base url is the same (http://testresults.opnfv.org/test)for them both. This patch aim to unify the urls. Change-Id: I15295975fb05f7e8c8d413e12b2b5c0784f0799a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit/common/test_config.py')
-rw-r--r--testapi/opnfv_testapi/tests/unit/common/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/common/test_config.py b/testapi/opnfv_testapi/tests/unit/common/test_config.py
index cc8743c..8cfc513 100644
--- a/testapi/opnfv_testapi/tests/unit/common/test_config.py
+++ b/testapi/opnfv_testapi/tests/unit/common/test_config.py
@@ -12,4 +12,4 @@ def test_config_normal(mocker, config_normal):
assert CONF.api_port == 8000
assert CONF.api_debug is True
assert CONF.api_authenticate is False
- assert CONF.swagger_base_url == 'http://localhost:8000'
+ assert CONF.ui_url == 'http://localhost:8000'