diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-11-04 13:20:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 13:20:31 +0200 |
commit | 8d3c61598706eb049caa66a23501018f2f416673 (patch) | |
tree | 0aa3430a7ad3b1a9212194043a9e08c187ecd9fe /tests/conftest.py | |
parent | 72b49263f86f32c9df945433f21d3f3a7444d1a0 (diff) | |
download | redis-py-8d3c61598706eb049caa66a23501018f2f416673.tar.gz |
Support for json multipath ($) (#1663)
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 3 |
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 |