Closed dashmage closed 2 months ago
Is this still needed? https://github.com/charmed-kubernetes/pytest-operator/issues/131
Is this still needed? charmed-kubernetes/pytest-operator#131
That was a quick fix! I just verified that the tests are running successfully with pytest-asyncio==0.21.2
on this action run. So I'll close this PR since it's not needed anymore.
When using pytest-8.2.0 with async-0.21.1, func tests throw an error:
AttributeError: 'FixtureDef' object has no attribute 'unittest'
Refer: https://github.com/charmed-kubernetes/pytest-operator/issues/131
Therefore, the pytest version is pinned till the issue is resolved upstream.