mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
remove unused cassette in with statement
This commit is contained in:
@@ -6,7 +6,7 @@ import vcr
|
|||||||
def test_set_serializer_default_config(tmpdir):
|
def test_set_serializer_default_config(tmpdir):
|
||||||
my_vcr = vcr.VCR(serializer='json')
|
my_vcr = vcr.VCR(serializer='json')
|
||||||
|
|
||||||
with my_vcr.use_cassette(str(tmpdir.join('test.json'))) as cass:
|
with my_vcr.use_cassette(str(tmpdir.join('test.json'))):
|
||||||
assert my_vcr.serializer == 'json'
|
assert my_vcr.serializer == 'json'
|
||||||
urllib2.urlopen('http://httpbin.org/get')
|
urllib2.urlopen('http://httpbin.org/get')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user