You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move context management of use_cassette into CassetteContextDecorator so that a separate cassette is created for each invocation of a use_cassette decorated function.
VCR now passes a callable to CassetteContextDecorator (instead of passing the arguments for cassette creation) so that changes to the VCRs default configuration can propagate to functions that have already been decorated.
Add mock and contextlib2 as dependencies.
Do all patching through mock.patch. This made it so that CassetteContextDecorators actually stack properly.
Remove enter and exit from Cassette class.
Add before_record_response hook to Cassette and VCR classes. This is mainly for the purpose of scrubbing responses.