I have a Flask app that exposes a method that expects a post value. In this endpoint, I take the request data and create an event that I send to Kafka. Depending on what the request value contains, the event is different. I want to write a series of tests that validates that the method that creates my event works as expected. Without a whole ton of details, this is the basic structure of the Gateway resource.I have a Flask app that exposes a method that e