summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBar Shaul <88437685+barshaul@users.noreply.github.com>2021-12-08 10:17:38 +0200
committerGitHub <noreply@github.com>2021-12-08 10:17:38 +0200
commit748c8d1029f018e752b4039253dcb8de2fc57a34 (patch)
tree119c3c9f6f81b6431d765448c8a3ea915280f4c8
parent11b14630a6845c28acfd4220b72ed62d72913305 (diff)
downloadredis-py-748c8d1029f018e752b4039253dcb8de2fc57a34.tar.gz
Fix cluster ACL tests (#1774)
-rw-r--r--tests/test_cluster.py2
-rw-r--r--tests/test_commands.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cluster.py b/tests/test_cluster.py
index 15d8ac6..e1c8c34 100644
--- a/tests/test_cluster.py
+++ b/tests/test_cluster.py
@@ -1789,7 +1789,7 @@ class TestClusterRedisCommands:
username,
enabled=True,
reset=True,
- commands=["+get", "+set", "+select", "+cluster", "+command"],
+ commands=["+get", "+set", "+select", "+cluster", "+command", "+info"],
keys=["{cache}:*"],
nopass=True,
target_nodes="primaries",
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 936cbe5..eab9072 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -537,7 +537,7 @@ class TestRedisCommands:
killuser,
enabled=True,
reset=True,
- commands=["+get", "+set", "+select", "+cluster", "+command"],
+ commands=["+get", "+set", "+select", "+cluster", "+command", "+info"],
keys=["cache:*"],
nopass=True,
)