Open gsmafra opened 7 years ago
I'm also interested in this, but can't get it working due to https://github.com/eugeniy/pytest-tornado/issues/56, and I'm having trouble figuring out how to turn it into a non-gen-test test. Any ideas welcome.
Pytest updates also mean http_port
has to change to http_server_port
, I think.
Is the reason this test is not working perhaps because the app is created, but never actually started?
Is there, even if unintentionally, support for testing a Tornado WebSocket server with pytest-tornado? If yes, how would you go to make a basic example, similar to the one shown for the HTTP server?
This is what I tried to do but it gets stuck waiting for the websocket_connect to yield something