Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support coroutines #29

Open
asfaltboy opened this issue Jul 8, 2020 · 0 comments
Open

Support coroutines #29

asfaltboy opened this issue Jul 8, 2020 · 0 comments

Comments

@asfaltboy
Copy link
Owner

Currently a test case written as a coroutine (e.g when using pytest-asyncio plugin) does not get picked up as a test function:

@pytest.mark.asyncio
async def test_some_asyncio_code():
    res = await library.do_something()
    assert b'expected result' == res

The above test is skipped when finding the function on row/column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant