bugfix: leverage data_files to stop hacking setup.py
[releng.git] / utils / test / testapi / opnfv_testapi / ui / root.py
1 from opnfv_testapi.common import check
2 from opnfv_testapi.common.config import CONF
3 from opnfv_testapi.resources import handlers
4
5
6 class RootHandler(handlers.GenericApiHandler):
7     def get_template_path(self):
8         return CONF.ui_static_path
9
10     @check.login
11     def get(self):
12         self.render('testapi-ui/index.html')