diff options
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 2c0137f..5a5e8f3 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -3240,6 +3240,12 @@ class TestRedisCommands: assert isinstance(r.module_list(), list) assert not r.module_list() + @skip_if_server_version_lt('2.8.13') + def test_command_count(self, r): + res = r.command_count() + assert isinstance(res, int) + assert res >= 100 + class TestBinarySave: |