-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Refactor tests #28
Refactor tests #28
Conversation
This alleviates IPv4 -vs- IPv6 issues in ZK and Kafka.
@sandello, this is a pretty big patch so it will take me some time to review :) |
No worries. BTW, why 'kafka-python', and not 'python-kafka'? |
There is another python client called pykafka, and I didn't want to cause any confusion. |
After a quick glance through the commits a few thoughts:
More detailed review to follow |
On (2): Tox is not a dependency, actually. It is just a convenient way to run tests under py26 and py27. Still, nothing prevents you from doing just On (3): Yeah... I can think only of invoking |
|
|
Sure, but what I'm saying is, I don't want it as a development dependency :) |
Okay, I don't mind about dropping it. I am not quite familiar on how to use |
Hi there.
I am looking towards using this library so I decided to look through and (possibly) adapt to my needs. As the first step I decided to run tests (on Mac OS X) and I have encountered some problems (Kafka was not starting, unittest module is not so convenient, etc).
So I have refactored tests a little bit. :)
Here is the list of major changes:
kafka-run-class.sh
from Kafka distribution.has_gzip() / has_snappy()
methods to not to fail on Snappy tests.