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.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index cb89669..c71e347 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -697,6 +697,14 @@ class TestRedisCommands:
r.client_no_evict()
@pytest.mark.onlynoncluster
+ @skip_if_server_version_lt("7.2.0")
+ def test_client_no_touch(self, r):
+ assert r.client_no_touch("ON") == b"OK"
+ assert r.client_no_touch("OFF") == b"OK"
+ with pytest.raises(TypeError):
+ r.client_no_touch()
+
+ @pytest.mark.onlynoncluster
@skip_if_server_version_lt("3.2.0")
def test_client_reply(self, r, r_timeout):
assert r_timeout.client_reply("ON") == b"OK"