eugeniy / pytest-tornado

A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
Apache License 2.0
121 stars 34 forks source link

Allow native coroutines to be test functions #14

Closed etataurov closed 8 years ago

etataurov commented 8 years ago

This will allow to write tests using new async def/await syntax.

References:

etataurov commented 8 years ago

Seems I forgot to check older tornado versions, also I need to fix travis.yml to not to run old pytest&tornado under python3.5

etataurov commented 8 years ago

Build failed again. For 2 reasons:

  1. I forgot to exclude old pytest for python3.5
  2. Newly added test for run_sync=False uncovered that this option doesn't work with tornado=3.2. This needs to be fixed somehow: real fix, drop tornado3 support or mark this feature as tornado4 only
etataurov commented 8 years ago

@eugeniy please take a look

eugeniy commented 8 years ago

Looks good, thanks!