- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for testClient (0.06 seconds)
-
tests/test_schema_compat_pydantic_v2.py
return {"username": "alice", "role": "admin"} client = TestClient(app) return client @needs_py310 def test_get(client: TestClient): response = client.get("/users") assert response.json() == {"username": "alice", "role": "admin"} @needs_py310 def test_openapi_schema(client: TestClient): response = client.get("openapi.json") assert response.json() == snapshot(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
assertFalse(result); } @Test public void test_reindexConfigIndices_returnsTrueWhenAllSucceed() { testClient.existsIndexResult = true; testClient.createIndexResult = true; testClient.deleteIndexResult = true; testClient.reindexResult = true; testClient.documentCount = 10;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
docs/en/mkdocs.yml
- reference/openapi/docs.md - reference/openapi/models.md - reference/security/index.md - reference/encoders.md - reference/staticfiles.md - reference/templating.md - reference/testclient.md - fastapi-people.md - Resources: - resources/index.md - help-fastapi.md - contributing.md - project-generation.md - external-links.md - newsletter.md - management-tasks.mdCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/en/docs/release-notes.md
* [Upgraded Starlette](https://github.com/encode/starlette/releases/tag/0.21.0) * Now the `TestClient` is based on HTTPX instead of Requests. 🚀Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0)