diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-04-27 16:22:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 16:22:38 +0300 |
commit | 2d8b90139710240d172e16f1a60b2cd847a0802c (patch) | |
tree | 521cb769859eecf1c74d94cdd5e07686457e2521 /tests/test_commands.py | |
parent | 2da2ac3368bc88ad909d78fe73029bc9c627545d (diff) | |
download | redis-py-2d8b90139710240d172e16f1a60b2cd847a0802c.tar.gz |
support get multi parameters (#2142)
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 f83bb79..57182fc 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -669,6 +669,12 @@ class TestRedisCommands: # # assert 'maxmemory' in data # assert data['maxmemory'].isdigit() + @skip_if_server_version_lt("7.0.0") + def test_config_get_multi_params(self, r: redis.Redis): + res = r.config_get("*max-*-entries*", "maxmemory") + assert "maxmemory" in res + assert "hash-max-listpack-entries" in res + @pytest.mark.onlynoncluster @skip_if_redis_enterprise() def test_config_resetstat(self, r): |