diff --git a/tests/test_commands.py b/tests/test_commands.py index f6981ac9..16ebbcd8 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -331,11 +331,17 @@ def teardown(): assert set(acl["keys"]) == {"~cache:*", "~objects:*"} assert len(acl["passwords"]) == 2 assert set(acl["channels"]) == {"&message:*"} - assert_resp_response( + assert_resp_response_in( r, acl["selectors"], - [["commands", "-@all +set", "keys", "%W~app*", "channels", ""]], - [{"commands": "-@all +set", "keys": "%W~app*", "channels": ""}], + [ + [["commands", "-@all +set", "keys", "%W~app*", "channels", ""]], + [["commands", "-@all +set", "keys", "%W~app*", "channels", "", "databases", "alldbs"]], + ], + [ + [{"commands": "-@all +set", "keys": "%W~app*", "channels": ""}], + [{"commands": "-@all +set", "keys": "%W~app*", "channels": "", "databases": "alldbs"}], + ], ) @skip_if_server_version_lt("6.0.0")