Home / Function/ test_docstring_example() — requests Function Reference

test_docstring_example() — requests Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_requests.py lines 2291–2295

    def test_docstring_example(self):
        cid = CaseInsensitiveDict()
        cid["Accept"] = "application/json"
        assert cid["aCCEPT"] == "application/json"
        assert list(cid) == ["Accept"]

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free