]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update includes for `docs/en/docs/advanced/testing-websockets.md` (#12761)
authorHamid Rasti <43915620+hamidrasti@users.noreply.github.com>
Sat, 9 Nov 2024 16:19:46 +0000 (19:49 +0330)
committerGitHub <noreply@github.com>
Sat, 9 Nov 2024 16:19:46 +0000 (16:19 +0000)
docs/en/docs/advanced/testing-websockets.md

index ab08c90fe876cc4f85d861ac072c5a012ac2015d..60dfdc3432cb9ff1b164d06ea80772c1cd0889ec 100644 (file)
@@ -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