test_add_dict_to_cookiejar() — requests Function Reference
Architecture documentation for the test_add_dict_to_cookiejar() function in test_utils.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 7dc126e0_6165_4bde_af6d_21294b96d488["test_add_dict_to_cookiejar()"] 5828793e_be5b_8952_37f1_338fd4634a1a["test_utils.py"] 7dc126e0_6165_4bde_af6d_21294b96d488 -->|defined in| 5828793e_be5b_8952_37f1_338fd4634a1a style 7dc126e0_6165_4bde_af6d_21294b96d488 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_utils.py lines 790–797
def test_add_dict_to_cookiejar(cookiejar):
"""Ensure add_dict_to_cookiejar works for
non-RequestsCookieJar CookieJars
"""
cookiedict = {"test": "cookies", "good": "cookies"}
cj = add_dict_to_cookiejar(cookiejar, cookiedict)
cookies = {cookie.name: cookie.value for cookie in cj}
assert cookiedict == cookies
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_add_dict_to_cookiejar() do?
test_add_dict_to_cookiejar() is a function in the requests codebase, defined in tests/test_utils.py.
Where is test_add_dict_to_cookiejar() defined?
test_add_dict_to_cookiejar() is defined in tests/test_utils.py at line 790.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free