From f6327070a2d8b83f53d19a73ea244d99a2cff0cb Mon Sep 17 00:00:00 2001 From: "John \"Preston\" Mille" Date: Mon, 5 Aug 2024 14:20:11 +0100 Subject: [PATCH] Adding ACLs testing for Transactional ID --- tests/test_acls_admin.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_acls_admin.py b/tests/test_acls_admin.py index 16d984c..639820e 100644 --- a/tests/test_acls_admin.py +++ b/tests/test_acls_admin.py @@ -85,6 +85,14 @@ def test_create_acls(compose_path): "Action": "DESCRIBE", "Effect": "ALLOW", }, + { + "Resource": "kafka-cluster", + "PatternType": "LITERAL", + "Principal": "User:toto", + "ResourceType": "TRANSACTIONAL_ID", + "Action": "READ", + "Effect": "ALLOW", + }, ] bindings: list[AclBinding] = [set_binding_from_dict(_acl) for _acl in new_acls] create_new_acls(