summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_asyncio/conftest.py')
-rw-r--r--tests/test_asyncio/conftest.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_asyncio/conftest.py b/tests/test_asyncio/conftest.py
index 6982cc8..121a13b 100644
--- a/tests/test_asyncio/conftest.py
+++ b/tests/test_asyncio/conftest.py
@@ -1,7 +1,6 @@
import random
from contextlib import asynccontextmanager as _asynccontextmanager
from typing import Union
-from urllib.parse import urlparse
import pytest
import pytest_asyncio
@@ -209,13 +208,6 @@ async def mock_cluster_resp_slaves(create_redis, **kwargs):
return _gen_cluster_mock_resp(r, response)
-@pytest_asyncio.fixture(scope="session")
-def master_host(request):
- url = request.config.getoption("--redis-url")
- parts = urlparse(url)
- return parts.hostname
-
-
async def wait_for_command(
client: redis.Redis, monitor: Monitor, command: str, key: Union[str, None] = None
):