diff --git a/tests/conftest.py b/tests/conftest.py index 392a07c2..92dd97fe 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -39,6 +39,8 @@ def redis_server(request): @pytest.fixture() @pytest.mark.redis async def redis_storage(redis_server): + if not redis_server: + pytest.skip("Redis is not available here") storage = RedisStorage.from_url(redis_server) try: yield storage