pytest-qasync

Pytest support for qasync.


License
MIT
Install
pip install pytest-qasync==0.0.1

Documentation

pytest-qasync

Pytest plugin to test qasync.

Example

import pytest

async def coro():
    return 1

@pytest.mark.qasync
async def test_qasync():
    res = await coro()
    assert res == 1

Disclaimer

Code mostly stolen from pytest-asyncio project.