Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use test.fixtures.version not test.conftest.version to avoid warnings #1731

Merged
merged 1 commit into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions test/test_consumer_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
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):
Expand Down
3 changes: 1 addition & 2 deletions test/test_consumer_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
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


Expand Down
3 changes: 1 addition & 2 deletions test/test_producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

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():
Expand Down
3 changes: 1 addition & 2 deletions test/test_producer_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
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


Expand Down