(self)
| 307 | assert response.json()['data'] == 'foo' |
| 308 | |
| 309 | def test_content(self) -> None: |
| 310 | response = impit.get(get_httpbin_url('/')) |
| 311 | |
| 312 | assert response.status_code == 200 |
| 313 | assert isinstance(response.content, bytes) |
| 314 | assert isinstance(response.text, str) |
| 315 | assert response.content.decode('utf-8') == response.text |
| 316 | |
| 317 | def test_json(self) -> None: |
| 318 | response = impit.get(get_httpbin_url('/get')) |
nothing calls this directly
no test coverage detected