'GET a URL that redirects elsewhere'

def test_redirect(self):

    response = self.client.get('/test_client/redirect_view/')
    self.assertRedirects(response, '/test_client/get_view/')
    host = 'django.testserver'
    client_providing_host = Client(HTTP_HOST=host)
    response = client_providing_host.get('/test_client/redirect_view/')
    self.assertRedirects(response, '/test_client/get_view/', host=host)
