Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ raise_connection_error
Method
raise_connection_error
tests/test_cluster.py:530–531 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
528
break
529
530
def
raise_connection_error():
531
raise
ConnectionError(
"error"
)
532
533
def
mock_execute_command(*_args, **_kwargs):
534
if
_args[0] ==
"CLUSTER SLOTS"
:
Callers
nothing calls this directly
Calls
1
ConnectionError
Class · 0.90
Tested by
no test coverage detected