

def test_environ_host_header_alternate_port(self):
    self.headers.update({
        'HOST': 'example.com:9999',
    })
    environ = self._make_one()
    self.assertEqual(self['SERVER_PORT'], '9999')

dataset/ETHPy150Open KeepSafe/aiohttp/tests/test_wsgi.py TestHttpWsgiServerProtocol.test_environ_host_header_alternate_port/VarMisuse@38/57 `environ`->`self`