(self, url, monkeypatch)
| 275 | ), |
| 276 | ) |
| 277 | def test_not_bypass_no_proxy_keyword(self, url, monkeypatch): |
| 278 | # This is testing that the 'no_proxy' argument overrides the |
| 279 | # environment variable 'no_proxy' |
| 280 | monkeypatch.setenv("http_proxy", "http://proxy.example.com:3128/") |
| 281 | no_proxy = "192.168.1.1,requests.com" |
| 282 | assert get_environ_proxies(url, no_proxy=no_proxy) != {} |
| 283 | |
| 284 | |
| 285 | class TestIsIPv4Address: |
nothing calls this directly
no test coverage detected