diff options
Diffstat (limited to 'app_test.py')
-rw-r--r-- | app_test.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app_test.py b/app_test.py index 97e38f4d..bd91a51e 100644 --- a/app_test.py +++ b/app_test.py @@ -34,6 +34,16 @@ class BaseEndpoints(SiteTest): response = self.client.get('/', 'http://pytest.local') self.assertEqual(response.status_code, 200) + def test_help(self): + """ Check the help path responds with 200 OK """ + response = self.client.get('/help') + self.assertEqual(response.status_code, 200) + + def test_not_found(self): + """ Check paths without handlers returns 404 Not Found """ + response = self.client.get('/nonexistentpath') + self.assertEqual(response.status_code, 404) + def test_invite(self): """ Check invite redirects """ response = self.client.get('/invite') |