aboutsummaryrefslogtreecommitdiff
path: root/tests/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_views.py')
-rw-r--r--tests/test_views.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_views.py b/tests/test_views.py
new file mode 100644
index 0000000..9c0c471
--- /dev/null
+++ b/tests/test_views.py
@@ -0,0 +1,15 @@
+import cherrypy
+
+from cherrypy.test import helper
+
+from cherry_lesana import App
+
+
+class TestViews(helper.CPWebCase):
+ def setup_server():
+ cherrypy.tree.mount(App())
+ setup_server = staticmethod(setup_server)
+
+ def test_root(self):
+ self.getPage('/')
+ self.assertStatus(200)