Closed arhoyling closed 8 years ago
This makes sense. Would you like to tackle this @arhoyling?
Just made a pull request with the changes.
@arhoyling where did you make the pull request? There are none here.
@sigmavirus24 you are right. Sorry about that. I should have read the docs before trying a pull request.
This has been fixed.
When you make the same streaming requests multiple times, you do not get any data after the first request.
Betamax loads the cassette in the
use_cassette()
decorator and creates a uniqueInteraction
with the associated recordedrequests.Response
. Thisrequests.Response
is reused each timeinteraction.as_response()
is called but the stream is fully consumed after the first request.Considering that Betamax is used for testing, would it be such an overhead to dynamically deserialize the recorded response every time an Interaction is used?