diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-08-03 16:01:52 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-08-03 16:01:52 -0300 |
commit | a8b2fc84ba96c83ec1addf89ac04608fbf572705 (patch) | |
tree | 6f54cbe43b8684908f2e80ba311272c06fd0fd08 /devel/tests.py | |
parent | 294bf173236610fc8c308f81d8617e7e0d0e4bff (diff) | |
parent | b0bad20756549df5edf726771c8e6869caba6244 (diff) |
Merge branch 'master' of git://projects.archlinux.org/archweb
Conflicts:
templates/base.html
Diffstat (limited to 'devel/tests.py')
-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 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) |