diff options
author | Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com> | 2021-07-22 18:51:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 18:51:13 +0300 |
commit | ad4779eb8200e47a7786f78ca915a246038602c3 (patch) | |
tree | a1475e32a127892214ce2ed87f782897229a437b /tests/test_commands.py | |
parent | 3c244af9e7c820d38135562d9385753f5bbb60e6 (diff) | |
download | redis-py-ad4779eb8200e47a7786f78ca915a246038602c3.tar.gz |
client_list (#1517)
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 088404a..9884035 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -281,6 +281,12 @@ class TestRedisCommands: assert isinstance(clients[0], dict) assert 'addr' in clients[0] + @skip_if_server_version_lt('6.2.0') + def test_client_info(self, r): + info = r.client_info() + assert isinstance(info, dict) + assert 'addr' in info + @skip_if_server_version_lt('5.0.0') def test_client_list_type(self, r): with pytest.raises(exceptions.RedisError): |