2121from confluent_kafka .error import ConsumeError
2222from confluent_kafka import ConsumerGroupState , TopicCollection , ConsumerGroupType
2323
24- from tests .common import TestUtils
25-
2624topic_prefix = "test-topic"
2725
2826
@@ -37,7 +35,7 @@ def consume_messages(sasl_cluster, group_id, group_protocol, topic, num_messages
3735 'on_commit' : verify_commit_result ,
3836 'auto.offset.reset' : 'earliest' }
3937
40- if group_protocol == 'classic' :
38+ if group_protocol == 'classic' :
4139 conf ['session.timeout.ms' ] = 6000
4240
4341 consumer = sasl_cluster .consumer (conf )
@@ -186,7 +184,7 @@ def verify_describe_groups(cluster, admin_client, topic):
186184 # Delete group
187185 perform_admin_operation_sync (admin_client .delete_consumer_groups , [group ], request_timeout = 10 )
188186
189- consumer_group = 'test-group-consumer'
187+ consumer_group = 'test-group-consumer'
190188
191189 consume_messages (cluster , consumer_group , 'consumer' , topic , 2 )
192190
@@ -205,6 +203,7 @@ def verify_describe_groups(cluster, admin_client, topic):
205203 # Delete group
206204 perform_admin_operation_sync (admin_client .delete_consumer_groups , [consumer_group ], request_timeout = 10 )
207205
206+
208207def verify_describe_cluster (admin_client ):
209208 desc = verify_provided_describe_for_authorized_operations (admin_client ,
210209 admin_client .describe_cluster ,
0 commit comments