We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
loop_scope="package"
fixture not found
When using loop_scope="package", this fixture defined in my test/asynchronous/conftest.py throws a fatal error on test setup:
test/asynchronous/conftest.py
@pytest_asyncio.fixture(loop_scope="package", scope="package", autouse=True) async def test_setup_and_teardown(): await async_setup() yield await async_teardown() # Error: E fixture 'test/asynchronous::<event_loop>' not found
Every other loop_scope does not throw this error. Is there an additional step required for package scoped fixtures?
loop_scope
package
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
loop_scope="package"
, this fixture defined in mytest/asynchronous/conftest.py
throws a fatal error on test setup:Every other
loop_scope
does not throw this error. Is there an additional step required forpackage
scoped fixtures?The text was updated successfully, but these errors were encountered: