diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-04-05 09:34:48 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-04-05 09:35:45 -0700 |
commit | 5a14bd8c947251d1a8f848175cc3cf2b07af3411 (patch) | |
tree | a251ddbc60c84405762365429de9b04727653e6c /test/test_consumer.py | |
parent | 221f56d8a05cdc2d37f85018e4af352b4b2a95c5 (diff) | |
download | kafka-python-5a14bd8c947251d1a8f848175cc3cf2b07af3411.tar.gz |
Update imports from kafka.common -> kafka.errors / kafka.structs
Diffstat (limited to 'test/test_consumer.py')
-rw-r--r-- | test/test_consumer.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_consumer.py b/test/test_consumer.py index e664292..f3dad16 100644 --- a/test/test_consumer.py +++ b/test/test_consumer.py @@ -4,11 +4,11 @@ from mock import MagicMock, patch from . import unittest from kafka import SimpleConsumer, KafkaConsumer, MultiProcessConsumer -from kafka.common import ( - KafkaConfigurationError, FetchResponsePayload, OffsetFetchResponsePayload, - FailedPayloadsError, OffsetAndMessage, - NotLeaderForPartitionError, UnknownTopicOrPartitionError -) +from kafka.errors import ( + FailedPayloadsError, KafkaConfigurationError, NotLeaderForPartitionError, + UnknownTopicOrPartitionError) +from kafka.structs import ( + FetchResponsePayload, OffsetAndMessage, OffsetFetchResponsePayload) class TestKafkaConsumer(unittest.TestCase): |