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:
Dan McGee 2011-06-15 15:53:41 -05:00
parent 2a44855556
commit aaae7e599e

View File

@ -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)