Skip to content

Commit c47d325

Browse files
committed
Adding ACLs testing for Transactional ID
1 parent 808e9e3 commit c47d325

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test_acls_admin.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ def test_create_acls(compose_path):
8585
"Action": "DESCRIBE",
8686
"Effect": "ALLOW",
8787
},
88+
{
89+
"Resource": "kafka-cluster",
90+
"PatternType": "LITERAL",
91+
"Principal": "User:toto",
92+
"ResourceType": "TRANSACTIONAL_ID",
93+
"Action": "READ",
94+
"Effect": "ALLOW",
95+
},
8896
]
8997
bindings: list[AclBinding] = [set_binding_from_dict(_acl) for _acl in new_acls]
9098
create_new_acls(

0 commit comments

Comments
 (0)