Closed
Description
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'
Downgrading to pytest<3.7
fixed this.
Metadata
Metadata
Assignees
Labels
No labels