(self)
| 42 | assert headers == expected_headers |
| 43 | |
| 44 | def test_default_port(self) -> None: |
| 45 | with ProxyManager("http://something") as p: |
| 46 | assert p.proxy is not None |
| 47 | assert p.proxy.port == 80 |
| 48 | with ProxyManager("https://something") as p: |
| 49 | assert p.proxy is not None |
| 50 | assert p.proxy.port == 443 |
| 51 | |
| 52 | def test_invalid_scheme(self) -> None: |
| 53 | with pytest.raises(AssertionError): |
nothing calls this directly
no test coverage detected