MCPcopy Index your code
hub / github.com/Python3WebSpider/ProxyPool / _test

Function _test

proxypool/processors/tester.py:154–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 tester = Tester()
153
154 async def _test():
155 async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False)) as session:
156 await tester.test(Proxy(host=host, port=port), session)
157
158 loop = asyncio.new_event_loop()
159 asyncio.set_event_loop(loop)

Callers 1

run_testerFunction · 0.85

Calls 2

ProxyClass · 0.90
testMethod · 0.80

Tested by

no test coverage detected