test_not_bypass_no_proxy_keyword() — requests Function Reference
Architecture documentation for the test_not_bypass_no_proxy_keyword() function in test_utils.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 92a87f4f_633c_a389_7d28_52e46084ea5e["test_not_bypass_no_proxy_keyword()"] 7288cae5_35cb_e577_a01c_d2e23352eaae["TestGetEnvironProxies"] 92a87f4f_633c_a389_7d28_52e46084ea5e -->|defined in| 7288cae5_35cb_e577_a01c_d2e23352eaae style 92a87f4f_633c_a389_7d28_52e46084ea5e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_utils.py lines 267–272
def test_not_bypass_no_proxy_keyword(self, url, monkeypatch):
# This is testing that the 'no_proxy' argument overrides the
# environment variable 'no_proxy'
monkeypatch.setenv("http_proxy", "http://proxy.example.com:3128/")
no_proxy = "192.168.1.1,requests.com"
assert get_environ_proxies(url, no_proxy=no_proxy) != {}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_not_bypass_no_proxy_keyword() do?
test_not_bypass_no_proxy_keyword() is a function in the requests codebase, defined in tests/test_utils.py.
Where is test_not_bypass_no_proxy_keyword() defined?
test_not_bypass_no_proxy_keyword() is defined in tests/test_utils.py at line 267.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free