-
Notifications
You must be signed in to change notification settings - Fork 95
Run Session class tests in an event loop #881
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
Conversation
|
||
Changed: | ||
- Session class unit tests are marked to be run within an event loop and are | ||
no longer skipped (#881). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change log updated
@@ -16,6 +17,7 @@ async def test_session_get_client(client_name, client_class): | |||
assert isinstance(client, client_class) | |||
|
|||
|
|||
@pytest.mark.asyncio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I lost these along the way. It would have helped if pytest failed instead of skipping. Maybe we can configure it to do so. I don't immediately see how, it seems particular to async functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed. will keep an eye out for a way to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes the skipped tests, thanks!
as this is approved with no comments, I'll merge to unblock #882 |
Resolves #879
Review please @jreiberkyle