MCPcopy Create free account
hub / github.com/encode/starlette / file_response_client

Function file_response_client

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

Source from the content-addressed store, hash-verified

733
734@pytest.fixture
735def file_response_client(readme_file: Path, test_client_factory: TestClientFactory) -> TestClient:
736 return test_client_factory(app=FileResponse(str(readme_file)))
737
738
739def 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