summaryrefslogtreecommitdiff
path: root/test/test_client_async.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_client_async.py')
-rw-r--r--test/test_client_async.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_client_async.py b/test/test_client_async.py
index 884686d..eaac8e1 100644
--- a/test/test_client_async.py
+++ b/test/test_client_async.py
@@ -4,12 +4,12 @@ import socket
import pytest
from kafka.client_async import KafkaClient
-from kafka.common import BrokerMetadata
-import kafka.common as Errors
from kafka.conn import ConnectionStates
+import kafka.errors as Errors
from kafka.future import Future
from kafka.protocol.metadata import MetadataResponse, MetadataRequest
from kafka.protocol.produce import ProduceRequest
+from kafka.structs import BrokerMetadata
@pytest.mark.parametrize("bootstrap,expected_hosts", [