Browse Source

📝 Update includes for `docs/en/docs/advanced/testing-websockets.md` (#12761)

pull/12839/head
Hamid Rasti 5 months ago
committed by GitHub
parent
commit
52e8ea4c97
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/docs/advanced/testing-websockets.md

4
docs/en/docs/advanced/testing-websockets.md

@ -4,9 +4,7 @@ You can use the same `TestClient` to test WebSockets.
For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket:
```Python hl_lines="27-31"
{!../../docs_src/app_testing/tutorial002.py!}
```
{* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
/// note

Loading…
Cancel
Save