🌐 Add German translation for `docs/de/docs/advanced/testing-events.md` (#10704)

This commit is contained in:
Nils Lindemann 2024-03-30 21:17:40 +01:00 committed by GitHub
parent cf101d4859
commit d5a8d8faa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -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!}
```