Right now what I do is mocking the responses from method stream_events of RunResultStreaming object. And while it works it seems a bit flaky because I skip any other event generated by the method.
Lol, while writing this I thought about the idea of serializing the events for relevant cases in some file and then loading in tests.
Still, interested how you go about tests.