mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
Begin work on implementing configuration interface
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Import Cassette to make it available at the top level
|
||||
from .cassette import Cassette
|
||||
from config import VCR
|
||||
|
||||
default_vcr = VCR()
|
||||
|
||||
# Also, make a 'load' function available
|
||||
def use_cassette(path, **kwargs):
|
||||
return Cassette.load(path, **kwargs)
|
||||
return default_vcr.use_cassette(path, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user