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

Method test_parse_valid_proxies

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

Source from the content-addressed store, hash-verified

193
194class ProxyTests(unittest.TestCase):
195 def test_parse_valid_proxies(self):
196 for proxy, parsed in VALID_PROXIES:
197 with self.subTest(proxy=proxy):
198 self.assertEqual(parse_proxy(proxy), parsed)
199
200 def test_parse_invalid_proxies(self):
201 for proxy in INVALID_PROXIES:

Callers

nothing calls this directly

Calls 1

parse_proxyFunction · 0.85

Tested by

no test coverage detected