Browse Source

📝 Add external link to starlette docs for WebSocket testing (#1717)

Co-authored-by: Marcelo Trylesinski <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
pull/1753/head
Smart 5 years ago
committed by GitHub
parent
commit
d1585c42b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/en/docs/advanced/testing-websockets.md

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

@ -7,3 +7,6 @@ For this, you use the `TestClient` in a `with` statement, connecting to the WebS
```Python hl_lines="27 28 29 30 31"
{!../../../docs_src/app_testing/tutorial002.py!}
```
!!! note
For more details, check Starlette's documentation for <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.

Loading…
Cancel
Save