def test_http_host(self):
    result = get_host({'HTTP_HOST': 'example.com'})
    self.assertEquals(result, 'example.com')
def test_http_host(self):
    result = get_host({'HTTP_HOST': 'example.com'})
    self.assertEquals(result, 'example.com')