Resolving the global mock_meta_cluster issue

Really jank solution, but here’s how it works:

  1. Import mock_kafka_cluster from kafka_mock.py
  2. Use that in conftest.py, so that it already populates that object in kafka_mock.py, so that the imported Producers and Consumers can access it
  3. Call reset_global or some shit before doing that, so it resets that object.

Confirm this with Josh tomorrow 202004240900


uid: 202006081038 tags: #theorem


Date
February 22, 2023