# WebSockets'i Test Etmek { #testing-websockets } WebSockets'i test etmek için aynı `TestClient`'ı kullanabilirsiniz. Bunun için `TestClient`'ı bir `with` ifadesinde kullanarak WebSocket'e bağlanırsınız: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | Not Daha fazla detay için Starlette'in WebSockets'i test etme dokümantasyonuna bakın. ///