test_idna_with_version_attribute() — requests Function Reference
Architecture documentation for the test_idna_with_version_attribute() function in test_help.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 89378178_f63e_2991_084d_e956958c7dcc["test_idna_with_version_attribute()"] c813a8f6_ac27_98b0_b893_4e1a2f35d7b8["test_help.py"] 89378178_f63e_2991_084d_e956958c7dcc -->|defined in| c813a8f6_ac27_98b0_b893_4e1a2f35d7b8 style 89378178_f63e_2991_084d_e956958c7dcc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_help.py lines 24–27
def test_idna_with_version_attribute():
"""Verify we're actually setting idna version when it should be available."""
with mock.patch("requests.help.idna", new=VersionedPackage("2.6")):
assert info()["idna"] == {"version": "2.6"}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_idna_with_version_attribute() do?
test_idna_with_version_attribute() is a function in the requests codebase, defined in tests/test_help.py.
Where is test_idna_with_version_attribute() defined?
test_idna_with_version_attribute() is defined in tests/test_help.py at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free