MCPcopy
hub / github.com/pallets/werkzeug / test_non_string_parts

Function test_non_string_parts

tests/test_routing.py:684–687  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

682
683
684def test_non_string_parts():
685 m = r.Map([r.Rule("/<foo>", endpoint="foo")])
686 a = m.bind("example.com")
687 assert a.build("foo", {"foo": 42}) == "/42"
688
689
690def test_complex_routing_rules():

Callers

nothing calls this directly

Calls 2

bindMethod · 0.95
buildMethod · 0.45

Tested by

no test coverage detected