mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 01:25:34 +00:00
+ @bhartin - now vcr can handle multiple requests
This commit is contained in:
@@ -16,5 +16,5 @@ def save_cassette(cassette_path, cassette):
|
||||
dirname, filename = os.path.split(cassette_path)
|
||||
if not os.path.exists(dirname):
|
||||
os.makedirs(dirname)
|
||||
with open(cassette_path, 'wc') as cassette_file:
|
||||
with open(cassette_path, 'a') as cassette_file:
|
||||
cassette_file.write(yaml.dump(cassette.serialize()))
|
||||
|
||||
Reference in New Issue
Block a user