Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in pytest-asyncio

pytest-asyncio with singletons causes conflicting event loops

Multiple async unit tests fail, but running them one by one will pass

Is there an async equivalent of unitsetUpClass in Python 3.10?

"RuntimeError: Event loop is closed" when using pytest-asyncio to test FastAPI routes

How do you use httpx AsyncClient with pytest in fastapi?

Writing pytest testcases for asyncio with streams

FastAPI, SQLAlchemy, pytest, unable to get 100% coverage, it doesn't properly collected

Pytest asyncio event is bound to a different event loop, event loop is closed

Using pytest-twisted functions with pytest-asyncio fixtures

How do I Mock the coroutine json() when using aiohttp.ClientSession.get

Unable to fix this playwright error: ValueError: The future belongs to a different loop than the one specified as the loop argument

How to use setUp from pytest as an async method?

FastAPI & Pytest. Got Future attached to a different loop

How can I add the `url_route` key/value into the `scope` for tests?

What causes error 'async_generator' object has no attribute 'add'?

Async fixtures with pytest