def test_hostname_mapping(self):
        self.http_client.fetch(
            'http://www.example.com:%d/hello' % self.get_http_port(), self.stop)
        response = self.wait()
        response.rethrow()
        self.assertEqual(response.body, b'Hello world!')
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/test/simple_httpclient_test.py/HostnameMappingTestCase.test_hostname_mapping/original