mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
flickr test was actually using yaml cassettes
This commit is contained in:
@@ -40,11 +40,11 @@ def test_flickr_multipart_upload():
|
|||||||
data = r.read()
|
data = r.read()
|
||||||
h.close()
|
h.close()
|
||||||
|
|
||||||
with vcr.use_cassette('fixtures/vcr_cassettes/flickr.json') as cass:
|
with vcr.use_cassette('fixtures/vcr_cassettes/flickr.yaml') as cass:
|
||||||
_pretend_to_be_flickr_library()
|
_pretend_to_be_flickr_library()
|
||||||
assert len(cass) == 1
|
assert len(cass) == 1
|
||||||
|
|
||||||
with vcr.use_cassette('fixtures/vcr_cassettes/flickr.json') as cass:
|
with vcr.use_cassette('fixtures/vcr_cassettes/flickr.yaml') as cass:
|
||||||
assert len(cass) == 1
|
assert len(cass) == 1
|
||||||
_pretend_to_be_flickr_library()
|
_pretend_to_be_flickr_library()
|
||||||
assert cass.play_count == 1
|
assert cass.play_count == 1
|
||||||
|
|||||||
Reference in New Issue
Block a user