'GET a URL that redirects to a non-200 page'

def test_redirect_to_strange_location(self):

    response = self.client.get('/test_client/double_redirect_view/')
    self.assertRedirects(response, 'http://testserver/test_client/permanent_redirect_view/', target_status_code=301)
