test_respect_proxy_env_on_send_with_redirects() — requests Function Reference
Architecture documentation for the test_respect_proxy_env_on_send_with_redirects() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 83edfc8a_cc01_2b13_9b82_60051156632c["test_respect_proxy_env_on_send_with_redirects()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] 83edfc8a_cc01_2b13_9b82_60051156632c -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 eb4927de_0f5a_e91b_5675_eee3babf26c6["override_environ()"] 83edfc8a_cc01_2b13_9b82_60051156632c -->|calls| eb4927de_0f5a_e91b_5675_eee3babf26c6 772251a3_91b5_d6a8_857f_bb938ed045f7["send()"] 83edfc8a_cc01_2b13_9b82_60051156632c -->|calls| 772251a3_91b5_d6a8_857f_bb938ed045f7 style 83edfc8a_cc01_2b13_9b82_60051156632c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 624–631
def test_respect_proxy_env_on_send_with_redirects(self, httpbin):
with override_environ(http_proxy=INVALID_PROXY):
with pytest.raises(ProxyError):
session = requests.Session()
url = httpbin("redirect/1")
print(url)
request = requests.Request("GET", url)
session.send(request.prepare())
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_respect_proxy_env_on_send_with_redirects() do?
test_respect_proxy_env_on_send_with_redirects() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_respect_proxy_env_on_send_with_redirects() defined?
test_respect_proxy_env_on_send_with_redirects() is defined in tests/test_requests.py at line 624.
What does test_respect_proxy_env_on_send_with_redirects() call?
test_respect_proxy_env_on_send_with_redirects() calls 2 function(s): override_environ, send.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free