MCPcopy Create free account
hub / github.com/python-websockets/websockets / test_parse_valid_uris

Method test_parse_valid_uris

tests/test_uri.py:77–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75
76class URITests(unittest.TestCase):
77 def test_parse_valid_uris(self):
78 for uri, parsed in VALID_URIS:
79 with self.subTest(uri=uri):
80 self.assertEqual(parse_uri(uri), parsed)
81
82 def test_parse_invalid_uris(self):
83 for uri in INVALID_URIS:

Callers

nothing calls this directly

Calls 1

parse_uriFunction · 0.85

Tested by

no test coverage detected