-
Notifications
You must be signed in to change notification settings - Fork 13
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
Pytest 8.2.0: AttributeError: 'FixtureDef' object has no attribute 'unittest' when using #131
Comments
Btw for anyone that is experiencing the issue - downgrade pytest |
dashmage
added a commit
to dashmage/hardware-observer-operator
that referenced
this issue
Apr 29, 2024
When using pytest-8.2.0 with async-0.21.1, func tests throw an error: `AttributeError: 'FixtureDef' object has no attribute 'unittest'` Refer: charmed-kubernetes/pytest-operator#131 Therefore, the pytest version is pinned till the issue is resolved upstream.
Resolved now by new |
shipperizer
added a commit
to canonical/identity-platform-login-ui-operator
that referenced
this issue
Apr 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using with the most recent version of pytest 8.2.0,
asyncio-0.21.1
is used which breaks the fixtures with error:AttributeError: 'FixtureDef' object has no attribute 'unittest'
.To reproduce:
tox.ini
in project root.tests/integratin/test_asyncio.py
The test will fail.
The text was updated successfully, but these errors were encountered: