test_invalid_ca_certificate_path() — requests Function Reference
Architecture documentation for the test_invalid_ca_certificate_path() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD bc673076_e083_a35e_141c_f0f06577d460["test_invalid_ca_certificate_path()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] bc673076_e083_a35e_141c_f0f06577d460 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style bc673076_e083_a35e_141c_f0f06577d460 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 961–968
def test_invalid_ca_certificate_path(self, httpbin_secure):
INVALID_PATH = "/garbage"
with pytest.raises(IOError) as e:
requests.get(httpbin_secure(), verify=INVALID_PATH)
assert (
str(e.value)
== f"Could not find a suitable TLS CA certificate bundle, invalid path: {INVALID_PATH}"
)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_invalid_ca_certificate_path() do?
test_invalid_ca_certificate_path() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_invalid_ca_certificate_path() defined?
test_invalid_ca_certificate_path() is defined in tests/test_requests.py at line 961.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free