summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-11-04 13:20:31 +0200
committerGitHub <noreply@github.com>2021-11-04 13:20:31 +0200
commit8d3c61598706eb049caa66a23501018f2f416673 (patch)
tree0aa3430a7ad3b1a9212194043a9e08c187ecd9fe /tests/conftest.py
parent72b49263f86f32c9df945433f21d3f3a7444d1a0 (diff)
downloadredis-py-8d3c61598706eb049caa66a23501018f2f416673.tar.gz
Support for json multipath ($) (#1663)
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 47188df..b1a0f8c 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -126,7 +126,8 @@ def _get_client(cls, request, single_connection_client=True, flushdb=True,
@pytest.fixture()
def modclient(request, **kwargs):
rmurl = request.config.getoption('--redismod-url')
- with _get_client(redis.Redis, request, from_url=rmurl, **kwargs) as client:
+ with _get_client(redis.Redis, request, from_url=rmurl,
+ decode_responses=True, **kwargs) as client:
yield client