summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/ui/root.py
blob: 069ad5e931ff881218ed3596bd6c2b4a25a8eb81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from opnfv_testapi.common import check
from opnfv_testapi.common.config import CONF
from opnfv_testapi.resources import handlers


class RootHandler(handlers.GenericApiHandler):
    def get_template_path(self):
        return CONF.static_path

    @check.login
    def get(self):
        self.render('testapi-ui/index.html')