]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🌐 Add German translation for `docs/de/docs/advanced/testing-events.md` (#10704)
authorNils Lindemann <nilslindemann@tutanota.com>
Sat, 30 Mar 2024 20:17:40 +0000 (21:17 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Mar 2024 20:17:40 +0000 (15:17 -0500)
docs/de/docs/advanced/testing-events.md [new file with mode: 0644]

diff --git a/docs/de/docs/advanced/testing-events.md b/docs/de/docs/advanced/testing-events.md
new file mode 100644 (file)
index 0000000..f500935
--- /dev/null
@@ -0,0 +1,7 @@
+# Events testen: Hochfahren – Herunterfahren
+
+Wenn Sie in Ihren Tests Ihre Event-Handler (`startup` und `shutdown`) ausführen wollen, können Sie den `TestClient` mit einer `with`-Anweisung verwenden:
+
+```Python hl_lines="9-12  20-24"
+{!../../../docs_src/app_testing/tutorial003.py!}
+```