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

Method test_parse_invalid_uris

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

Source from the content-addressed store, hash-verified

80 self.assertEqual(parse_uri(uri), parsed)
81
82 def test_parse_invalid_uris(self):
83 for uri in INVALID_URIS:
84 with self.subTest(uri=uri):
85 with self.assertRaises(InvalidURI):
86 parse_uri(uri)
87
88 def test_parse_resource_name(self):
89 for uri, resource_name in URIS_WITH_RESOURCE_NAMES:

Callers

nothing calls this directly

Calls 1

parse_uriFunction · 0.85

Tested by

no test coverage detected