- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for get_people (0.06 seconds)
-
tests/test_stringified_annotation_dependency.py
Client = Annotated[DummyClient, Depends(get_client)] @pytest.fixture(name="client") def client_fixture() -> TestClient: app = FastAPI() @app.get("/") async def get_people(client: Client) -> list: return await client.get_people() client = TestClient(app) return client def test_get(client: TestClient): response = client.get("/") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.2K bytes - Click Count (0)