test_adapters.py — requests Source File
Architecture documentation for test_adapters.py, a python file in the requests codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 6430646e_5e0b_b007_dfae_64d5169574d4["test_adapters.py"] 8aae3274_19ac_373e_a780_0da2abc9d9f4["requests.adapters"] 6430646e_5e0b_b007_dfae_64d5169574d4 --> 8aae3274_19ac_373e_a780_0da2abc9d9f4 style 6430646e_5e0b_b007_dfae_64d5169574d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import requests.adapters
def test_request_url_trims_leading_path_separators():
"""See also https://github.com/psf/requests/issues/6643."""
a = requests.adapters.HTTPAdapter()
p = requests.Request(method="GET", url="http://127.0.0.1:10000//v:h").prepare()
assert "/v:h" == a.request_url(p, {})
Domain
Subdomains
Dependencies
- requests.adapters
Source
Frequently Asked Questions
What does test_adapters.py do?
test_adapters.py is a source file in the requests codebase, written in python. It belongs to the CoreAPI domain, SessionLifecycle subdomain.
What functions are defined in test_adapters.py?
test_adapters.py defines 1 function(s): test_request_url_trims_leading_path_separators.
What does test_adapters.py depend on?
test_adapters.py imports 1 module(s): requests.adapters.
Where is test_adapters.py in the architecture?
test_adapters.py is located at tests/test_adapters.py (domain: CoreAPI, subdomain: SessionLifecycle, directory: tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free