summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 2534ca0..b615915 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -434,7 +434,9 @@ def master_host(request):
@pytest.fixture()
def unstable_r(request):
url = request.config.getoption("--redis-unstable-url")
- with _get_client(redis.Redis, request, from_url=url) as client:
+ with _get_client(
+ redis.Redis, request, from_url=url, decode_responses=True
+ ) as client:
yield client