]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Add external link to starlette docs for WebSocket testing (#1717)
authorSmart <47581948+hellocoldworld@users.noreply.github.com>
Mon, 3 Aug 2020 08:45:22 +0000 (05:45 -0300)
committerGitHub <noreply@github.com>
Mon, 3 Aug 2020 08:45:22 +0000 (10:45 +0200)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/advanced/testing-websockets.md

index a9d6821becfd4cd271291abec44bc7bb7a50a01d..ab2c3eb1034db661482920d901200a6dd1f4feb0 100644 (file)
@@ -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>.