diff options
Diffstat (limited to 'tests/test_commands.py')
| -rw-r--r-- | tests/test_commands.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index f0394d7..abe6143 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -94,6 +94,13 @@ class TestRedisCommands(object): # we don't know which client ours will be assert 'redis_py_test' in [c['name'] for c in clients] + @skip_if_server_version_lt('2.9.50') + def test_client_pause(self, r): + assert r.client_pause(1) + assert r.client_pause(timeout=1) + with pytest.raises(exceptions.RedisError): + r.client_pause(timeout='not an integer') + def test_config_get(self, r): data = r.config_get() assert 'maxmemory' in data |
