Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
684
def
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
690
def
test_complex_routing_rules():
Callers
nothing calls this directly
Calls
2
bind
Method · 0.95
build
Method · 0.45
Tested by
no test coverage detected