Home / Function/ test_fixes_649() — requests Function Reference

test_fixes_649() — requests Function Reference

Architecture documentation for the test_fixes_649() function in test_requests.py from the requests codebase.

Entity Profile

Dependency Diagram

graph TD
  adc8115a_3960_46a2_55cb_9d56f1eb3f35["test_fixes_649()"]
  1af73de2_d781_73a2_a172_8a628d8b069d["TestCaseInsensitiveDict"]
  adc8115a_3960_46a2_55cb_9d56f1eb3f35 -->|defined in| 1af73de2_d781_73a2_a172_8a628d8b069d
  style adc8115a_3960_46a2_55cb_9d56f1eb3f35 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 2307–2316

    def test_fixes_649(self):
        """__setitem__ should behave case-insensitively."""
        cid = CaseInsensitiveDict()
        cid["spam"] = "oneval"
        cid["Spam"] = "twoval"
        cid["sPAM"] = "redval"
        cid["SPAM"] = "blueval"
        assert cid["spam"] == "blueval"
        assert cid["SPAM"] == "blueval"
        assert list(cid.keys()) == ["SPAM"]

Domain

Subdomains

Frequently Asked Questions

What does test_fixes_649() do?
test_fixes_649() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_fixes_649() defined?
test_fixes_649() is defined in tests/test_requests.py at line 2307.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free