diff options
author | 2018-08-07 15:09:08 +0100 | |
---|---|---|
committer | 2018-08-07 15:09:16 +0100 | |
commit | af54db6c136138c66cf5ca72419989525a0baa5c (patch) | |
tree | 8519aeab8d45277c51797c7dc23aacf3b56ed1bb /tests/test_staff.py | |
parent | A wizard is never late, nor is he early. (diff) |
Initial project layout for django
Diffstat (limited to 'tests/test_staff.py')
-rw-r--r-- | tests/test_staff.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/test_staff.py b/tests/test_staff.py deleted file mode 100644 index bc911b0c..00000000 --- a/tests/test_staff.py +++ /dev/null @@ -1,15 +0,0 @@ -from tests import SiteTest, app - - -class StaffEndpoints(SiteTest): - """ Test cases for staff subdomain """ - - def test_staff_view(self): - """ Check staff view redirects """ - response = self.client.get('/', app.config['STAFF_SUBDOMAIN']) - self.assertEqual(response.status_code, 302) - - def test_jams_infractions(self): - """ Check staff jams infractions view redirects """ - response = self.client.get('/jams/infractions', app.config['STAFF_SUBDOMAIN']) - self.assertEqual(response.status_code, 302) |