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


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

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