summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/ui/root.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/root.py')
-rw-r--r--utils/test/testapi/opnfv_testapi/ui/root.py10
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')