diff options
Diffstat (limited to 'tests/test_app.py')
-rw-r--r-- | tests/test_app.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_app.py b/tests/test_app.py new file mode 100644 index 0000000..a2ff27a --- /dev/null +++ b/tests/test_app.py @@ -0,0 +1,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) |