summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/handlers/root_handlers.py
blob: 92920fa85a1f4b7ab9f9688b1affcf01f3be238d (plain)
1
2
3
4
5
6
7
8
9
10
from opnfv_testapi.common.config import CONF
from opnfv_testapi.handlers import base_handlers


class RootHandler(base_handlers.GenericApiHandler):
    def get_template_path(self):
        return CONF.ui_static_path

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