From a1a745b4820ec46a2e707d77f6178cf9e97654f6 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 12 May 2017 18:33:00 +0800 Subject: refactor static_path to accomodate web portal move tornado_swagger/static to opnfv_testapi/static move swagger related 3rd libs to 3rd_party/swagger Change-Id: I32bba10584c99d13687b93f32577e37581db0c63 Signed-off-by: SerenaFeng --- utils/test/testapi/opnfv_testapi/cmd/server.py | 3 ++- 1 file changed, 2 insertions(+), 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 8b092b89e..2696bb397 100644 --- a/utils/test/testapi/opnfv_testapi/cmd/server.py +++ b/utils/test/testapi/opnfv_testapi/cmd/server.py @@ -58,7 +58,8 @@ def get_db(): def make_app(): - swagger.docs(base_url=CONF.swagger_base_url) + swagger.docs(base_url=CONF.swagger_base_url, + static_path=CONF.static_path) return swagger.Application( url_mappings.mappings, db=get_db(), -- cgit 1.2.3-korg