From f31a1bebf27fddcc4be2377e356d2a6ab34b145c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 15 Jul 2025 10:36:08 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/advanced/testing-events.md | 2 +- docs_src/app_testing/tutorial003.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/advanced/testing-events.md b/docs/en/docs/advanced/testing-events.md index 9a5aa4bae..d67583de8 100644 --- a/docs/en/docs/advanced/testing-events.md +++ b/docs/en/docs/advanced/testing-events.md @@ -10,4 +10,4 @@ You can read more details about the ["Running lifespan in tests in the official For the deprecated `startup` and `shutdown` events, you can use the `TestClient` as follows: -{* ../../docs_src/app_testing/tutorial003.py hl[9:12,20:24] *} \ No newline at end of file +{* ../../docs_src/app_testing/tutorial003.py hl[9:12,20:24] *} diff --git a/docs_src/app_testing/tutorial003.py b/docs_src/app_testing/tutorial003.py index d1a943cce..ca6b45ce0 100644 --- a/docs_src/app_testing/tutorial003.py +++ b/docs_src/app_testing/tutorial003.py @@ -21,4 +21,4 @@ def test_read_items(): with TestClient(app) as client: response = client.get("/items/foo") assert response.status_code == 200 - assert response.json() == {"name": "Fighters"} \ No newline at end of file + assert response.json() == {"name": "Fighters"}