diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-17 18:31:26 +0800 |
---|---|---|
committer | Serena Feng <feng.xiaowei@zte.com.cn> | 2017-05-18 01:01:05 +0000 |
commit | d55972a735e6038fee4ce7ad6501983f87275498 (patch) | |
tree | c9cdccdd0fc75f9e45363d2f2bbe3e3997cf3f6a /utils/test/testapi/opnfv_testapi/ui/root.py | |
parent | 90f6563370e3c152f884fd1c811fca7457f07004 (diff) |
add signin web to TestAPI
Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/root.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/ui/root.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/root.py b/utils/test/testapi/opnfv_testapi/ui/root.py new file mode 100644 index 000000000..bba7a8632 --- /dev/null +++ b/utils/test/testapi/opnfv_testapi/ui/root.py @@ -0,0 +1,10 @@ +from opnfv_testapi.resources.handlers import GenericApiHandler +from opnfv_testapi.common import config + + +class RootHandler(GenericApiHandler): + def get_template_path(self): + return config.Config().static_path + + def get(self): + self.render('testapi-ui/index.html') |