pytest-tornado
pytest-tornado copied to clipboard
A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
This will allow to, for example, increase the timeout for all tests on a test module which are known to run slower but not increase the timeout globally and without...
Needed for apps that rely on IOLoop.instance() Currently, IOLoop() is created, this should be overridable.
As mentioned in release notes [here](https://www.tornadoweb.org/en/stable/releases/v6.2.0.html), from `tornado==6.2`, `IOLoop.make_current` and `IOLoop.clear_current` APIs are deprecated. Both these APIs are used in pytest-tornado. This leads to generating many warnings in tests.