diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-09-01 13:42:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 13:42:37 +0300 |
commit | 51516cbd16b538584b7ea8c6a0cdbc76cda3d90a (patch) | |
tree | 1f4ad811eb20ba903b3a6b3eb40423a12d2f7019 /tests/test_commands.py | |
parent | 0f8d0dcbb3a7f759843f3f89e413f9333d027c98 (diff) | |
download | redis-py-51516cbd16b538584b7ea8c6a0cdbc76cda3d90a.tar.gz |
Support for CLIENT TRACKINFO (#1560)
Part of #1546
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r-- | tests/test_commands.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index 30ad5d5..fd77cc8 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -315,6 +315,12 @@ class TestRedisCommands: def test_client_id(self, r): assert r.client_id() > 0 + @skip_if_server_version_lt('6.2.0') + def test_client_trackinginfo(self, r): + res = r.client_trackinginfo() + assert len(res) > 2 + assert 'prefixes' in res + @skip_if_server_version_lt('5.0.0') def test_client_unblock(self, r): myid = r.client_id() |