summaryrefslogtreecommitdiff
path: root/tests/test_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r--tests/test_commands.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index b8dc69f..510ec7d 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -557,6 +557,13 @@ class TestRedisCommands:
with pytest.raises(exceptions.RedisError):
r.client_pause(timeout="not an integer")
+ @skip_if_server_version_lt("6.2.0")
+ def test_client_pause_all(self, r, r2):
+ assert r.client_pause(1, all=False)
+ assert r2.set("foo", "bar")
+ assert r2.get("foo") == b"bar"
+ assert r.get("foo") == b"bar"
+
@pytest.mark.onlynoncluster
@skip_if_server_version_lt("6.2.0")
@skip_if_redis_enterprise()