userver
C++ Async Framework
Loading...
Searching...
No Matches
samples/websocket_service/tests/test_websocket.py
1
# /// [Functional test]
2
async def
test_echo(websocket_client):
3
async
with
websocket_client.get(
'chat'
)
as
chat:
4
await chat.send(
'hello'
)
5
response = await chat.recv()
6
assert
response ==
'hello'
7
# /// [Functional test]
Generated on Wed May 15 2024 22:13:58 for userver by
Doxygen
1.10.0