'Circular redirect chains are caught and escaped'

def test_circular_redirect(self):

    response = self.client.get('/test_client_regress/circular_redirect_1/', {}, follow=True)
    self.assertRedirects(response, '/test_client_regress/circular_redirect_2/', status_code=301, target_status_code=301)
    self.assertEquals(len(response.redirect_chain), 4)
