summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_sentinel.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_asyncio/test_sentinel.py')
-rw-r--r--tests/test_asyncio/test_sentinel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_asyncio/test_sentinel.py b/tests/test_asyncio/test_sentinel.py
index 5a0533b..7866056 100644
--- a/tests/test_asyncio/test_sentinel.py
+++ b/tests/test_asyncio/test_sentinel.py
@@ -15,7 +15,7 @@ from redis.asyncio.sentinel import (
@pytest_asyncio.fixture(scope="module")
def master_ip(master_host):
- yield socket.gethostbyname(master_host)
+ yield socket.gethostbyname(master_host[0])
class SentinelTestClient: