summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-02-22 13:11:55 +0200
committerGitHub <noreply@github.com>2022-02-22 13:11:55 +0200
commitfa76ac49a9ea02c204bd4f1644f39d90140cf356 (patch)
tree0578d5e4748c64824a1f72ed3b64f23c8f57368b /tests/conftest.py
parentf2e34739fccab28a28a066a3ece955eb455b32f9 (diff)
downloadredis-py-fa76ac49a9ea02c204bd4f1644f39d90140cf356.tar.gz
Add support for Redis 7 functions (#1998)
* add function support * linters * test fcall * decode reponses for unstable_r * linters * fix evalsho_ro test * fix eval_ro test * add response callbaks * linters
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