MCPcopy
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
75def 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
82def test_set_cookie_app():

Callers

nothing calls this directly

Calls 3

set_cookieMethod · 0.95
openMethod · 0.95
ClientClass · 0.90

Tested by

no test coverage detected