mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
Load Old Cassettes
Add backwards-compatible cassette loading code that can load the old style header dicts from response cassettes.
This commit is contained in:
@@ -3,6 +3,5 @@ from config import VCR
|
||||
default_vcr = VCR()
|
||||
|
||||
|
||||
# Also, make a 'load' function available
|
||||
def use_cassette(path, **kwargs):
|
||||
return default_vcr.use_cassette(path, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user