summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-15 22:53:41 +0200
committerDan McGee <dan@archlinux.org>2011-06-15 22:53:44 +0200
commitaaae7e599eeedbc7e1f23d2da1588ad4edcd0f5f (patch)
treea7c3a70ff158b189bd94fc9fef9fd356ea33c73e /devel
parent2a44855556531a27e949884d4084c6e5d37082e1 (diff)
downloadarchweb-aaae7e599eeedbc7e1f23d2da1588ad4edcd0f5f.tar.gz
archweb-aaae7e599eeedbc7e1f23d2da1588ad4edcd0f5f.tar.xz
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>
Diffstat (limited to 'devel')
-rw-r--r--devel/tests.py5
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)