We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e6c7a commit eec44bdCopy full SHA for eec44bd
tests/conftest.py
@@ -17,7 +17,7 @@
17
from tests.ssl_utils import get_ssl_filename
18
19
REDIS_INFO = {}
20
-default_redis_url = "redis://localhost:6379/0"
+default_redis_url = "redis://localhost:16379/0"
21
default_protocol = "2"
22
default_redismod_url = "redis://localhost:6479"
23
@@ -322,10 +322,10 @@ def _get_client(
322
kwargs["protocol"] = request.config.getoption("--protocol")
323
324
cluster_mode = REDIS_INFO["cluster_enabled"]
325
+ ssl = kwargs.pop("ssl", False)
326
if not cluster_mode:
327
url_options = parse_url(redis_url)
328
connection_class = Connection
- ssl = kwargs.pop("ssl", False)
329
if ssl:
330
connection_class = SSLConnection
331
kwargs["ssl_certfile"] = get_ssl_filename("client-cert.pem")
0 commit comments