aboutsummaryrefslogtreecommitdiff
path: root/tests/test_views.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-10-29 12:42:29 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-10-29 12:42:29 +0100
commita5fbd781ccc9b64483cc499c375fa6e0e99ade1d (patch)
tree3bab3d0d6682fae6ba0a350db2326538b70988df /tests/test_views.py
Project skeleton
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)