(test_client_factory: TestClientFactory)
| 538 | |
| 539 | |
| 540 | def test_empty_204_response(test_client_factory: TestClientFactory) -> None: |
| 541 | app = Response(status_code=204) |
| 542 | client: TestClient = test_client_factory(app) |
| 543 | response = client.get("/") |
| 544 | assert "content-length" not in response.headers |
| 545 | |
| 546 | |
| 547 | def test_non_empty_response(test_client_factory: TestClientFactory) -> None: |
nothing calls this directly
no test coverage detected