(self)
| 2192 | proxies["two"].clear.assert_called_once_with() |
| 2193 | |
| 2194 | def test_proxy_auth(self): |
| 2195 | adapter = HTTPAdapter() |
| 2196 | headers = adapter.proxy_headers("http://user:pass@httpbin.org") |
| 2197 | assert headers == {"Proxy-Authorization": "Basic dXNlcjpwYXNz"} |
| 2198 | |
| 2199 | def test_proxy_auth_empty_pass(self): |
| 2200 | adapter = HTTPAdapter() |
nothing calls this directly
no test coverage detected