'An assertion is raised if the original page couldn\'t be retrieved as expected'

def test_redirect_chain_on_non_redirect_page(self):

    response = self.client.get('/test_client/get_view/', follow=True)
    try:
        self.assertRedirects(response, '/test_client/get_view/')
    except AssertionError as e:
        self.assertEquals(str(e), "Response    didn't    redirect    as    expected:    Response    code    was    200    (expected    302)")
    try:
        self.assertRedirects(response, '/test_client/get_view/', msg_prefix='abc')
    except AssertionError as e:
        self.assertEquals(str(e), "abc:    Response    didn't    redirect    as    expected:    Response    code    was    200    (expected    302)")
