diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2017-09-04 01:08:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-04 01:08:34 +0000 |
commit | a137b9d89ae9e982e5edd33670c040fc4d8603c7 (patch) | |
tree | fd27805248663d79e7da62e2619381d2d2b4f6c8 /utils/test/testapi/opnfv_testapi/ui/root.py | |
parent | 3402a07a0887038f54d1ea6ceb37a71bc6ec84a4 (diff) | |
parent | 16055e19d8d3f6cfc85a443703dabded8bee57bd (diff) |
Merge "leverage LFID as Authentication"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/root.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/ui/root.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/root.py b/utils/test/testapi/opnfv_testapi/ui/root.py index 5b2c922d7..069ad5e93 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 + @check.login def get(self): self.render('testapi-ui/index.html') |