Sanic-testing websockets

Hi. I try to use sanic-testing to test Sanic application. With http requests all is good, i can send requests and take responses, using SanicASGITestClient. But how can i test websocket connections with sanic-testing? Is it possible to get websocket object from SanicASGITestClient somehow?

Yes, the same way that you test any other endpoints should work.

You can see how Sanic does it internally here: