Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comment out underscore redir test for now. Fixes #345

  • Loading branch information...
commit 4fa6cfa9d0f0700d2f3458f47e3aee947a09608e 1 parent b28c4a4
@ericholscher ericholscher authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  readthedocs/rtd_tests/tests/test_redirects.py
View
3  readthedocs/rtd_tests/tests/test_redirects.py
@@ -79,8 +79,11 @@ def test_proper_page_on_main_site(self):
self.assertEqual(r.status_code, 302)
self.assertEqual(r._headers['location'], ('Location', 'http://testserver/docs/pip/en/latest/test.html'))
+ # This is currently turned off.
+ """
# Test _ -> -
def test_underscore_redirect(self):
r = self.client.get('/en/latest/', HTTP_HOST = 'django_kong.readthedocs.org')
self.assertEqual(r.status_code, 301)
self.assertEqual(r._headers['location'], ('Location', 'http://django-kong.readthedocs.org/en/latest/'))
+ """
Please sign in to comment.
Something went wrong with that request. Please try again.