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

Method test_parse_resource_name

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

Source from the content-addressed store, hash-verified

86 parse_uri(uri)
87
88 def test_parse_resource_name(self):
89 for uri, resource_name in URIS_WITH_RESOURCE_NAMES:
90 with self.subTest(uri=uri):
91 self.assertEqual(parse_uri(uri).resource_name, resource_name)
92
93 def test_parse_user_info(self):
94 for uri, user_info in URIS_WITH_USER_INFO:

Callers

nothing calls this directly

Calls 1

parse_uriFunction · 0.85

Tested by

no test coverage detected