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

Cleanup fixture imports #1616

Merged
merged 1 commit into from
Oct 27, 2018
Merged

Cleanup fixture imports #1616

merged 1 commit into from
Oct 27, 2018

Conversation

jeffwidman
Copy link
Collaborator

@jeffwidman jeffwidman commented Oct 27, 2018

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
a1869c4.


This change is Reviewable

`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
a1869c4.
@jeffwidman jeffwidman merged commit f00016e into master Oct 27, 2018
@jeffwidman jeffwidman deleted the switch-to-new-fixtures branch October 27, 2018 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant