From a5fbd781ccc9b64483cc499c375fa6e0e99ade1d Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 29 Oct 2017 12:42:29 +0100 Subject: Project skeleton --- tests/test_views.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/test_views.py (limited to 'tests/test_views.py') 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) -- cgit v1.2.3