MCPcopy Index your code
hub / github.com/python-websockets/websockets / test_parse_invalid_proxies

Method test_parse_invalid_proxies

tests/test_proxy.py:200–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 self.assertEqual(parse_proxy(proxy), parsed)
199
200 def test_parse_invalid_proxies(self):
201 for proxy in INVALID_PROXIES:
202 with self.subTest(proxy=proxy):
203 with self.assertRaises(InvalidProxy):
204 parse_proxy(proxy)
205
206 def test_parse_proxy_user_info(self):
207 for proxy, user_info in PROXIES_WITH_USER_INFO:

Callers

nothing calls this directly

Calls 1

parse_proxyFunction · 0.85

Tested by

no test coverage detected