summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshacharPash <shachar.pashchur@redis.com>2023-03-23 12:39:33 +0200
committershacharPash <shachar.pashchur@redis.com>2023-03-23 12:39:33 +0200
commit082d20e95011e267fda9fe52c2f74f7f95f5a696 (patch)
tree07b241747050dc89b54ab0d14174ea4993708ffb
parent5df8078b8dc20bd7fb7316dbf5e8dc54c43021eb (diff)
downloadredis-py-082d20e95011e267fda9fe52c2f74f7f95f5a696.tar.gz
async test_acl_help
-rw-r--r--tests/test_asyncio/test_commands.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_asyncio/test_commands.py b/tests/test_asyncio/test_commands.py
index e2b9ad6..2289f8d 100644
--- a/tests/test_asyncio/test_commands.py
+++ b/tests/test_asyncio/test_commands.py
@@ -285,6 +285,12 @@ class TestRedisCommands:
assert len((await r.acl_getuser(username))["passwords"]) == 1
@skip_if_server_version_lt(REDIS_6_VERSION)
+ async def test_acl_help(self, r: redis.Redis):
+ res = await r.acl_help()
+ assert isinstance(res, list)
+ assert len(res) != 0
+
+ @skip_if_server_version_lt(REDIS_6_VERSION)
@skip_if_server_version_gte("7.0.0")
async def test_acl_list(self, r_teardown):
username = "redis-py-user"