blob: cf0d89520bcd4f7837c8169e4a85a3b65babb04a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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)
|