mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-25 00:37:44 -04:00
🌐 Add German translation for docs/de/docs/advanced/testing-events.md (#10704)
This commit is contained in:
7
docs/de/docs/advanced/testing-events.md
Normal file
7
docs/de/docs/advanced/testing-events.md
Normal 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!}
|
||||
```
|
||||
Reference in New Issue
Block a user