MCPcopy
hub / github.com/encode/starlette / file_response_client

Function file_response_client

tests/test_responses.py:717–718  ·  view source on GitHub ↗
(readme_file: Path, test_client_factory: TestClientFactory)

Source from the content-addressed store, hash-verified

715
716@pytest.fixture
717def file_response_client(readme_file: Path, test_client_factory: TestClientFactory) -> TestClient:
718 return test_client_factory(app=FileResponse(str(readme_file)))
719
720
721def test_file_response_without_range(file_response_client: TestClient) -> None:

Callers

nothing calls this directly

Calls 2

FileResponseClass · 0.90
test_client_factoryFunction · 0.85

Tested by

no test coverage detected