def test_has_server_name(self):
    result = dict(get_environ({'SERVER_NAME': '127.0.0.1'}))
    self.assertIn('SERVER_NAME', result)
    self.assertEquals(result['SERVER_NAME'], '127.0.0.1')
def test_has_server_name(self):
    result = dict(get_environ({'SERVER_NAME': '127.0.0.1'}))
    self.assertIn('SERVER_NAME', result)
    self.assertEquals(result['SERVER_NAME'], '127.0.0.1')