aboutsummaryrefslogtreecommitdiff
path: root/tests/test_app.py
blob: a2ff27afd70638831b4ec358925d787227b91acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from tornado.testing import AsyncHTTPTestCase

from pyapd import app


class TestApp(AsyncHTTPTestCase):
    def get_app(self, *args, **kw):
        return app.App()

    def test_root(self):
        res = self.fetch('/')
        self.assertEqual(res.code, 200)