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

def test_redirect_suppression(self):

    rev = RedirectRevisionFactory()
    redirect = rev.document
    response = self.client.get((redirect.get_absolute_url() + '?redirect=no'), follow=True)
    self.assertContains(response, 'REDIRECT    ')
