test_update() — requests Function Reference
Architecture documentation for the test_update() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD b37d4763_2f2b_a6a7_376f_bb9752f2eb31["test_update()"] 1af73de2_d781_73a2_a172_8a628d8b069d["TestCaseInsensitiveDict"] b37d4763_2f2b_a6a7_376f_bb9752f2eb31 -->|defined in| 1af73de2_d781_73a2_a172_8a628d8b069d style b37d4763_2f2b_a6a7_376f_bb9752f2eb31 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 2343–2352
def test_update(self):
cid = CaseInsensitiveDict()
cid["spam"] = "blueval"
cid.update({"sPam": "notblueval"})
assert cid["spam"] == "notblueval"
cid = CaseInsensitiveDict({"Foo": "foo", "BAr": "bar"})
cid.update({"fOO": "anotherfoo", "bAR": "anotherbar"})
assert len(cid) == 2
assert cid["foo"] == "anotherfoo"
assert cid["bar"] == "anotherbar"
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_update() do?
test_update() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_update() defined?
test_update() is defined in tests/test_requests.py at line 2343.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free