Home / Function/ test_lower_items() — requests Function Reference

test_lower_items() — requests Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_requests.py lines 2378–2387

    def test_lower_items(self):
        cid = CaseInsensitiveDict(
            {
                "Accept": "application/json",
                "user-Agent": "requests",
            }
        )
        keyset = frozenset(lowerkey for lowerkey, v in cid.lower_items())
        lowerkeyset = frozenset(["accept", "user-agent"])
        assert keyset == lowerkeyset

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free