From af54db6c136138c66cf5ca72419989525a0baa5c Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 7 Aug 2018 15:09:08 +0100 Subject: Initial project layout for django --- tests/test_staff.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 tests/test_staff.py (limited to 'tests/test_staff.py') 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) -- cgit v1.2.3