()
| 13 | |
| 14 | |
| 15 | def test_response_constructor_with_status() -> None: |
| 16 | # Create a new response object with a specific status code |
| 17 | response = Response(404) |
| 18 | |
| 19 | assert response.status_code == 404 |
| 20 | assert response.content == b'' |
| 21 | assert response.text == '' |
| 22 | |
| 23 | assert response.reason_phrase == 'Not Found' |
| 24 | |
| 25 | |
| 26 | def test_response_constructor_with_content() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…