@pytest.mark.asyncio @pytest.fixture(params=[DB_URL]) async def database_with_cache(request): db = await Database.create( request.param, tables=[Employee], cache_enabled=True, testing=True ) yield db