diff options
Diffstat (limited to 'tests/test_jams.py')
-rw-r--r-- | tests/test_jams.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_jams.py b/tests/test_jams.py new file mode 100644 index 00000000..cf0d8952 --- /dev/null +++ b/tests/test_jams.py @@ -0,0 +1,11 @@ +from tests import SiteTest, app + +class JamsEndpoint(SiteTest): + """ Test cases for the root endpoint and error handling """ + + def test_jams_page(self): + """ Check the jams path responds with 200 OK """ + response = self.client.get('/jams', 'http://'+app.config['SERVER_NAME']) + self.assertEqual(response.status_code, 200) + + |