Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/werkzeug
/ test_cookie_forging
Function
test_cookie_forging
tests/test_test.py:75–79 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
73
74
75
def
test_cookie_forging():
76
c = Client(cookie_app)
77
c.set_cookie(
"foo"
,
"bar"
)
78
response = c.open()
79
assert response.text ==
"foo=bar"
80
81
82
def
test_set_cookie_app():
Callers
nothing calls this directly
Calls
3
set_cookie
Method · 0.95
open
Method · 0.95
Client
Class · 0.90
Tested by
no test coverage detected