kafka-python should package test module / fixtures
The package should export the test module so that downstream consumers can use the same testing facilities that kafka-python uses.
Can you elaborate? which testing facilities do you mean?
The big obvious one is: testutil.KafkaIntegrationTestCase and the accompanying fixtures. If there's a better way to test end to end consumer + producer code than that now, that'd be great to know, but otherwise it'd be nice to have that ability, as well as testing against possibly multiple kafka versions.
Ok -- fixture code requires getting and managing all the data in the servers/ directory. How would you envision managing that as an exported package?
This may be a little easier now that we've switched completely to pytest.
If there are bits preventing this that we could make pluggable instead then we are happy to accept PR's.