From 1cf5f3d4b246371b16bd85da7e177026034e1fbf Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 26 Jul 2017 14:40:56 +0800 Subject: 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 --- utils/test/testapi/opnfv_testapi/cmd/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/test/testapi/opnfv_testapi/cmd/server.py') diff --git a/utils/test/testapi/opnfv_testapi/cmd/server.py b/utils/test/testapi/opnfv_testapi/cmd/server.py index a5ac5eb6b..50ac049a0 100644 --- a/utils/test/testapi/opnfv_testapi/cmd/server.py +++ b/utils/test/testapi/opnfv_testapi/cmd/server.py @@ -37,7 +37,7 @@ from opnfv_testapi.tornado_swagger import swagger def make_app(): - swagger.docs(base_url=CONF.swagger_base_url, + swagger.docs(base_url=CONF.ui_url, static_path=CONF.static_path) return swagger.Application( url_mappings.mappings, -- cgit 1.2.3-korg