(self)
| 2197 | assert headers == {"Proxy-Authorization": "Basic dXNlcjpwYXNz"} |
| 2198 | |
| 2199 | def test_proxy_auth_empty_pass(self): |
| 2200 | adapter = HTTPAdapter() |
| 2201 | headers = adapter.proxy_headers("http://user:@httpbin.org") |
| 2202 | assert headers == {"Proxy-Authorization": "Basic dXNlcjo="} |
| 2203 | |
| 2204 | def test_response_json_when_content_is_None(self, httpbin): |
| 2205 | r = requests.get(httpbin("/status/204")) |
nothing calls this directly
no test coverage detected