You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more an idea / question how hard it would be.
While pytest ensures stable fixture order, it's made with synchronous fixtures in mind.
pytest-asyncio on the other hand allows for async fixtures and typically async test cases imply async code under test which implies async dependencies which imply async fixtures.
Thus, how about running setup and teardown asynchronously too, for example:
This is more an idea / question how hard it would be.
While
pytest
ensures stable fixture order, it's made with synchronous fixtures in mind.pytest-asyncio
on the other hand allows for async fixtures and typically async test cases imply async code under test which implies async dependencies which imply async fixtures.Thus, how about running setup and teardown asynchronously too, for example:
Would run as:
The text was updated successfully, but these errors were encountered: