code: def test_describe_configs_topic_resource_returns_configs(
      topic, kafka_admin_client
  ):
      """Tests that describe config returns configs for topic"""
      configs = kafka_admin_client.describe_configs(
          [ConfigResource(ConfigResourceType.TOPIC, topic)]
      )
  
      assert len(configs) == 1
      assert configs[0].resources[0][2] == ConfigResourceType.TOPIC
      assert configs[0].resources[0][3] == topic
      assert len(configs[0].resources[0][4]) > 1
  
file_path: kafka-python/test/test_admin_integration.py
imports: import pytest
  from logging import info
  from test.testutil import env_kafka_version, random_string
  from threading import Event, Thread
  from time import time, sleep
  from kafka.admin import ACLFilter, ACLOperation, ACLPermissionType, ResourcePattern, ResourceType, ACL, ConfigResource, ConfigResourceType
  from kafka.errors import NoError, GroupCoordinatorNotAvailableError, NonEmptyGroupError, GroupIdNotFoundError
label_desc: Use image node_id 3 for calling a global function with example usage: test_describe_configs_topic_resource_returns_configs(topic, kafka_admin_client) without return types