From: Hamid Rasti <43915620+hamidrasti@users.noreply.github.com> Date: Sat, 9 Nov 2024 16:19:46 +0000 (+0330) Subject: 📝 Update includes for `docs/en/docs/advanced/testing-websockets.md` (#12761) X-Git-Tag: 0.115.5~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52e8ea4c97ca35744e0c1511856182a6aa609ec7;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update includes for `docs/en/docs/advanced/testing-websockets.md` (#12761) --- diff --git a/docs/en/docs/advanced/testing-websockets.md b/docs/en/docs/advanced/testing-websockets.md index ab08c90fe8..60dfdc3432 100644 --- a/docs/en/docs/advanced/testing-websockets.md +++ b/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