(test_client_factory: TestClientFactory)
| 522 | |
| 523 | |
| 524 | def test_head_method(test_client_factory: TestClientFactory) -> None: |
| 525 | app = Response("hello, world", media_type="text/plain") |
| 526 | client = test_client_factory(app) |
| 527 | response = client.head("/") |
| 528 | assert response.text == "" |
| 529 | |
| 530 | |
| 531 | def test_empty_response(test_client_factory: TestClientFactory) -> None: |
nothing calls this directly
no test coverage detected