test_cookie_as_dict_keys() — requests Function Reference
Architecture documentation for the test_cookie_as_dict_keys() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 668eeaed_5a76_19de_80fe_af73d2cd16a4["test_cookie_as_dict_keys()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 668eeaed_5a76_19de_80fe_af73d2cd16a4 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style 668eeaed_5a76_19de_80fe_af73d2cd16a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 1321–1335
def test_cookie_as_dict_keys(self):
key = "some_cookie"
value = "some_value"
key1 = "some_cookie1"
value1 = "some_value1"
jar = requests.cookies.RequestsCookieJar()
jar.set(key, value)
jar.set(key1, value1)
keys = jar.keys()
assert keys == list(keys)
# make sure one can use keys multiple times
assert list(keys) == list(keys)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_cookie_as_dict_keys() do?
test_cookie_as_dict_keys() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_cookie_as_dict_keys() defined?
test_cookie_as_dict_keys() is defined in tests/test_requests.py at line 1321.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free