MCPcopy
hub / github.com/encode/httpx / test_url_matches

Function test_url_matches

tests/test_utils.py:132–134  ·  view source on GitHub ↗
(pattern, url, expected)

Source from the content-addressed store, hash-verified

130 ],
131)
132def test_url_matches(pattern, url, expected):
133 pattern = URLPattern(pattern)
134 assert pattern.matches(httpx.URL(url)) == expected
135
136
137def test_pattern_priority():

Callers

nothing calls this directly

Calls 2

matchesMethod · 0.95
URLPatternClass · 0.90

Tested by

no test coverage detected