First attempt at e2e testing of the TeeStream class.
Currently not passing when using cat with more than 10^3 lines
Theres a couple problems. [minor] First, it isn't deterministic on how much is written at a time, ie 250 lines one call, 300 the next, so asserting has_calls isn't working.
Bigger problem: somewhere between cat 100lines and cat 1000lines, TeeStream fails to print the whole thing before closing.
First attempt at e2e testing of the TeeStream class.
Currently not passing when using cat with more than 10^3 lines
Theres a couple problems. [minor] First, it isn't deterministic on how much is written at a time, ie 250 lines one call, 300 the next, so asserting has_calls isn't working.
Bigger problem: somewhere between cat 100lines and cat 1000lines, TeeStream fails to print the whole thing before closing.