Skip to content

How to test an aiohttp WebSocket in python #8443

Closed Answered by Dreamsorcerer
mplatypus asked this question in Q&A
Discussion options

You must be logged in to vote

Probably better to simulate the application, rather than mocking all the methods, something closer to what we have in our internal tests:
https://github.com/aio-libs/aiohttp/blob/master/tests/test_client_ws_functional.py

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mplatypus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants