diff options
author | Dan McGee <dan@archlinux.org> | 2015-04-02 09:33:03 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2015-04-15 17:12:32 -0500 |
commit | 6897f44fa71e94726a71e7ec9e93dce1041835b7 (patch) | |
tree | 7e81b195464f05131bd5c50a2e2d4499f10228a4 | |
parent | 7d4a6db69fe58aa9eb99cbc4f90556652455cf3a (diff) |
Shore up some failing tests
We really need to add a bunch of new ones for views that have been added
and/or changed, such as all the people stuff, but fix the response code
here to reflect the new and current reality.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | public/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/public/tests.py b/public/tests.py index 565d57ec..aaf5f847 100644 --- a/public/tests.py +++ b/public/tests.py @@ -19,13 +19,13 @@ class PublicTest(TestCase): response = self.client.get('/svn/') self.assertEqual(response.status_code, 200) - def test_developers(self): + def test_developers_old(self): response = self.client.get('/developers/') - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 301) - def test_fellows(self): + def test_fellows_old(self): response = self.client.get('/fellows/') - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 301) def test_donate(self): response = self.client.get('/donate/') |