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 Tue Nov 19 2024 11:25:19 for userver by
Doxygen
1.10.0