'The document view shouldn\'t redirect when passed redirect=no.'

def test_redirect_suppression(self):

    rev = revision(is_approved=True, save=True, content='REDIRECT    <a    class="redirect"    href="/en-US/docs/blah">smoo</a>')
    url = (rev.document.get_absolute_url() + '?redirect=no')
    response = self.client.get(url, follow=True)
    self.assertContains(response, 'REDIRECT    ')
