test_param_cookiejar_works() — requests Function Reference
Architecture documentation for the test_param_cookiejar_works() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 97e8d714_d41f_f8bc_b46e_39153e5e5cf4["test_param_cookiejar_works()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 97e8d714_d41f_f8bc_b46e_39153e5e5cf4 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style 97e8d714_d41f_f8bc_b46e_39153e5e5cf4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 434–440
def test_param_cookiejar_works(self, httpbin):
cj = cookielib.CookieJar()
cookiejar_from_dict({"foo": "bar"}, cj)
s = requests.session()
r = s.get(httpbin("cookies"), cookies=cj)
# Make sure the cookie was sent
assert r.json()["cookies"]["foo"] == "bar"
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_param_cookiejar_works() do?
test_param_cookiejar_works() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_param_cookiejar_works() defined?
test_param_cookiejar_works() is defined in tests/test_requests.py at line 434.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free