X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Ftest%2Ftestapi%2Fopnfv_testapi%2Fui%2Froot.py;h=576cbddcf78ca07317fe972c6a770591c09a2137;hb=0b087ed645c0cd125cf5c6198f2bf115cb4de4b0;hp=5b2c922d7503c24ce0922bb9e78f57dec8bb3d27;hpb=24e14a257b9ab64fb9a5d41beb986847b60ec4d2;p=releng.git diff --git a/utils/test/testapi/opnfv_testapi/ui/root.py b/utils/test/testapi/opnfv_testapi/ui/root.py index 5b2c922d7..576cbddcf 100644 --- a/utils/test/testapi/opnfv_testapi/ui/root.py +++ b/utils/test/testapi/opnfv_testapi/ui/root.py @@ -1,10 +1,12 @@ -from opnfv_testapi.resources.handlers import GenericApiHandler +from opnfv_testapi.common import check from opnfv_testapi.common.config import CONF +from opnfv_testapi.resources import handlers -class RootHandler(GenericApiHandler): +class RootHandler(handlers.GenericApiHandler): def get_template_path(self): - return CONF.static_path + return CONF.ui_static_path + @check.login def get(self): self.render('testapi-ui/index.html')