summaryrefslogtreecommitdiff
path: root/test/test_util.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove SimpleClient, Producer, Consumer, Unittest (#1196)Jeff Widman2019-10-111-85/+0
| | | | | | | | | | | | | | | | | | In the 2.0 release, we're removing: * `SimpleClient` * `SimpleConsumer` * `SimpleProducer` * Old partitioners used by `SimpleProducer`; these are superceded by the `DefaultPartitioner` These have been deprecated for several years in favor of `KafkaClient` / `KafkaConsumer` / `KafkaProducer`. Since 2.0 allows breaking changes, we are removing the deprecated classes. Additionally, since the only usage of `unittest` was in tests for these old Simple* clients, this also drops `unittest` from the library. All tests now run under `pytest`.
* Vendor `six` consistentlyJeff Widman2018-10-221-1/+1
| | | | Use vendored `six`, and also `six.moves.range` rather than `xrange`
* Don't use `kafka.common` internally1.3.5Jeff Widman2018-06-051-1/+1
| | | | This finishes the split from `kafka.common` to `kafka.errors`/`kafka.structs`.
* Remove dead code (#967)Jeff Widman2017-02-281-46/+0
|
* Update imports from kafka.common -> kafka.errors / kafka.structsDana Powers2016-04-051-5/+6
|
* Rename TopicAndPartition -> TopicPartitionDana Powers2015-12-281-1/+1
|
* Raise an error if we attempt to group duplicate topic-partition payloadsDana Powers2015-06-061-1/+5
| | | | - previously this would simply drop one of the payloads
* Merge pull request #227 from wizzat-feature/py3Dana Powers2014-09-071-27/+34
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 Support Conflicts: kafka/producer.py test/test_client.py test/test_client_integration.py test/test_codec.py test/test_consumer.py test/test_consumer_integration.py test/test_failover_integration.py test/test_producer.py test/test_producer_integration.py test/test_protocol.py test/test_util.py
| * Make all unit tests pass on py3.3/3.4Bruno ReniƩ2014-09-031-23/+32
| |
| * Use base unittest or unittest2 depending on python versionBruno ReniƩ2014-09-031-3/+4
| |
* | Import cleanups in testsDana Powers2014-09-041-0/+2
|/
* Failing test for write_int and write_shortMatthew L Daniel2014-08-221-0/+16
|
* PEP8 fixesMatthew L Daniel2014-08-221-12/+11
|
* Various fixesMark Roberts2014-04-251-4/+88
| | | | | | | | Bump version number to 0.9.1 Update readme to show supported Kafka/Python versions Validate arguments in consumer.py, add initial consumer unit test Make service kill() child processes when startup fails Add tests for util.py, fix Python 2.6 specific bug.
* Fix Python 2.6 supportMark Roberts2014-04-231-2/+5
|
* Remove test support for py26 since it's brokenMark Roberts2014-04-071-0/+15