summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_consumer_group.py3
-rw-r--r--test/test_consumer_integration.py3
-rw-r--r--test/test_producer.py3
-rw-r--r--test/test_producer_integration.py3
4 files changed, 4 insertions, 8 deletions
diff --git a/test/test_consumer_group.py b/test/test_consumer_group.py
index 5b468dc..d7aaa88 100644
--- a/test/test_consumer_group.py
+++ b/test/test_consumer_group.py
@@ -11,8 +11,7 @@ from kafka.consumer.group import KafkaConsumer
from kafka.coordinator.base import MemberState, Generation
from kafka.structs import TopicPartition
-from test.conftest import version
-from test.fixtures import random_string
+from test.fixtures import random_string, version
def get_connect_str(kafka_broker):
diff --git a/test/test_consumer_integration.py b/test/test_consumer_integration.py
index 9f76f7f..fdffd05 100644
--- a/test/test_consumer_integration.py
+++ b/test/test_consumer_integration.py
@@ -23,8 +23,7 @@ from kafka.structs import (
ProduceRequestPayload, TopicPartition, OffsetAndTimestamp
)
-from test.conftest import version
-from test.fixtures import ZookeeperFixture, KafkaFixture, random_string
+from test.fixtures import ZookeeperFixture, KafkaFixture, random_string, version
from test.testutil import KafkaIntegrationTestCase, kafka_versions, Timer
diff --git a/test/test_producer.py b/test/test_producer.py
index d6b94e8..60b19bf 100644
--- a/test/test_producer.py
+++ b/test/test_producer.py
@@ -7,8 +7,7 @@ import pytest
from kafka import KafkaConsumer, KafkaProducer, TopicPartition
from kafka.producer.buffer import SimpleBufferPool
-from test.conftest import version
-from test.fixtures import random_string
+from test.fixtures import random_string, version
def test_buffer_pool():
diff --git a/test/test_producer_integration.py b/test/test_producer_integration.py
index 35ce0d7..7109886 100644
--- a/test/test_producer_integration.py
+++ b/test/test_producer_integration.py
@@ -15,8 +15,7 @@ from kafka.errors import UnknownTopicOrPartitionError, LeaderNotAvailableError
from kafka.producer.base import Producer
from kafka.structs import FetchRequestPayload, ProduceRequestPayload
-from test.conftest import version
-from test.fixtures import ZookeeperFixture, KafkaFixture
+from test.fixtures import ZookeeperFixture, KafkaFixture, version
from test.testutil import KafkaIntegrationTestCase, kafka_versions, current_offset