1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Add use_cassette class so functinos that are decorated with use_cassette can be called multiple times.

This commit is contained in:
Ivan Malison
2014-09-16 23:32:28 -07:00
parent 20057a6815
commit cb05f4163c
3 changed files with 45 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ class VCR(object):
),
}
return Cassette.load(path, **merged_config)
return Cassette.use_cassette(path, **merged_config)
def register_serializer(self, name, serializer):
self.serializers[name] = serializer