()
| 4 | |
| 5 | |
| 6 | async def test_setattr() -> None: |
| 7 | response = Response(200) |
| 8 | |
| 9 | assert response.status_code == 200 |
| 10 | assert getattr(response, 'test', None) is None |
| 11 | setattr(response, 'test', 'test_value') # noqa: B010 |
| 12 | assert getattr(response, 'test', None) == 'test_value' |
| 13 | |
| 14 | |
| 15 | def test_response_constructor_with_status() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…