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
Given a simple async fixture and test:
@pytest.fixture() async def my_client(aiohttp_client): return await aiohttp_client(make_app()) async def test_x(my_client): await my_client.get('/abc/')
Results in an exception: AttributeError: 'coroutine' object has no attribute 'get'
AttributeError: 'coroutine' object has no attribute 'get'
Downgrading to pytest<3.7 fixed this.
pytest<3.7
The text was updated successfully, but these errors were encountered:
Thanks for reporting, this is a duplicate of #89.
This will be fixed with pytest 3.7.1, due to be released today. 👍
pytest 3.7.1
Sorry, something went wrong.
No branches or pull requests
Given a simple async fixture and test:
Results in an exception:
AttributeError: 'coroutine' object has no attribute 'get'
Downgrading to
pytest<3.7
fixed this.The text was updated successfully, but these errors were encountered: