'GET a URL that redirects elsewhere'

def test_redirect(self):

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