-
Notifications
You must be signed in to change notification settings - Fork 103
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
Is it possible to write unittests for async functions using @parameterized.expand? #137
Comments
Depending on python version this may work when paried with unittest.IsolatedAsyncioTestCase, or you may run into python/cpython#101486 I started some fixes for this - master...dbungert:parameterized:expand-async - but am unsure about handling of pre-python 3.5. |
This has been added in 0.9.0 thanks to , which will be on pypi in a day or so (#135; thanks @Ronserruya!) |
I too am waiting for this. Anything else holding 0.9.0 up @wolever ? |
@wolever Any chance to get v0.9.0 released? Thanks! |
@wolever Thanks! |
Hi,
I want to test the async functions using the @parameterized.expand decorator. There is no error while executing the tests, but it shows zero test coverage.
I'm using the @async_test decorator to test the async functions and without @parameterized.expand they work fine, meaning that it shows 100% code coverage.
Do I need to follow any extra steps for using the @parameterized.expand decorator to test the async function?
The text was updated successfully, but these errors were encountered: