Resolving the global mock_meta_cluster issue
Really jank solution, but here’s how it works:
- Import
mock_kafka_cluster
fromkafka_mock.py
- Use that in
conftest.py
, so that it already populates that object inkafka_mock.py
, so that the imported Producers and Consumers can access it - Call
reset_global
or some shit before doing that, so it resets that object.
Confirm this with Josh tomorrow 202004240900
uid: 202006081038 tags: #theorem