diff options
-rw-r--r-- | devel/tests.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/devel/tests.py b/devel/tests.py index da5459d..604da74 100644 --- a/devel/tests.py +++ b/devel/tests.py @@ -26,7 +26,4 @@ class DevelTest(TestCase): def test_mirrors(self): response = self.client.get('/mirrors/') - self.assertEqual(response.status_code, 302) - self.assertEqual(response.has_header('Location'), True) - self.assertEqual(response['location'], - 'http://testserver/login/?next=/mirrors/') + self.assertEqual(response.status_code, 200) |