summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-15 15:53:41 -0500
committerDan McGee <dan@archlinux.org>2011-06-15 15:53:44 -0500
commitaaae7e599eeedbc7e1f23d2da1588ad4edcd0f5f (patch)
treea7c3a70ff158b189bd94fc9fef9fd356ea33c73e
parent2a44855556531a27e949884d4084c6e5d37082e1 (diff)
Fix out of date testrelease_2011-06-15
A version of this view is now publicly available, so it returns 200. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--devel/tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/devel/tests.py b/devel/tests.py
index da5459d6..604da74c 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)