Fix out of date test
A version of this view is now publicly available, so it returns 200. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
2a44855556
commit
aaae7e599e
@ -26,7 +26,4 @@ def test_newuser(self):
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user