wbarnha / kafka-python-ng

Fork for Python client for Apache Kafka
https://wbarnha.github.io/kafka-python-ng/
Apache License 2.0
78 stars 11 forks source link

Add tests for KafkaAdminClient #114

Open wbarnha opened 8 months ago

wbarnha commented 8 months ago

I need to add tests for the KafkaAdmin changes I made:

  1. 1639

  2. 1640

  3. 1641

  4. 1642

  5. 1643

  6. 1645

I didn't have time yet to do tests... Given that the existing KafkaAdminClient code currently on the master branch is broken, sometimes in subtle ways, I decided fine to put them up as-is since then the code will be mostly working, and then later add tests to prevent regressions.

Frankly, the test fixtures are a bit of a mess, so I will probably instead go the route of finishing #1193, as that will both simplify the code drastically and require a few fixture changes.

And then after that tackle the tests/missing coverage.

But creating this and assigning it to myself so that I don't forget