aboutsummaryrefslogtreecommitdiff
path: root/tests/test_views.py
blob: 9c0c4716ce021d2ecf94c903db96ab65492dc856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)