(self)
| 50 | assert resp.encoding == 'utf-8' |
| 51 | |
| 52 | def test_headers_work(self) -> None: |
| 53 | response = impit.get(get_httpbin_url('/headers'), headers={'Impit-Test': 'foo'}) |
| 54 | assert response.status_code == 200 |
| 55 | assert response.json()['headers']['Impit-Test'] == 'foo' |
| 56 | |
| 57 | def test_cookies_nonstandard(self) -> None: |
| 58 | cookies_jar = CookieJar() |
nothing calls this directly
no test coverage detected