diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-10-27 00:11:10 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-10-27 02:17:23 -0700 |
commit | f00016e7cec64cfc9697b233809cd37e0e19cc64 (patch) | |
tree | 37d1d290b86c1e8e97776c1bd344261743cc04e4 /test/test_consumer_integration.py | |
parent | 1945ad16a15f53a07fae489b20ac616bb184ca89 (diff) | |
download | kafka-python-f00016e7cec64cfc9697b233809cd37e0e19cc64.tar.gz |
Cleanup fixture imports
`random_string` now comes from `test.fixtures` and was being
transparently imported via `test.testutil` so this bypasses the
pointless indirect import.
Similarly, `kafka_version` was transparently imported by `test.testutil`
from `test.fixtures`.
Also removed `random_port()` in `test.testutil` because its unused as its been replaced
by the one in `test.fixtures`.
This is part of the pytest migration that was started back in
a1869c4be5f47b4f6433610249aaf29af4ec95e5.
Diffstat (limited to 'test/test_consumer_integration.py')
-rw-r--r-- | test/test_consumer_integration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_consumer_integration.py b/test/test_consumer_integration.py index ce934ea..9a7790e 100644 --- a/test/test_consumer_integration.py +++ b/test/test_consumer_integration.py @@ -24,9 +24,9 @@ from kafka.structs import ( ) from test.conftest import version -from test.fixtures import ZookeeperFixture, KafkaFixture +from test.fixtures import ZookeeperFixture, KafkaFixture, random_string from test.testutil import ( - KafkaIntegrationTestCase, kafka_versions, random_string, Timer, + KafkaIntegrationTestCase, kafka_versions, Timer, send_messages ) |