import pytest # Enable asyncio mode for all tests def pytest_configure(config): config.addinivalue_line("markers", "asyncio: mark test as async")