mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
aiohttp: Replace aiohttp package for module
This commit is contained in:
committed by
Kevin McCarthy
parent
ba91053485
commit
be53091ae5
@@ -252,9 +252,7 @@ def vcr_request(cassette, real_request):
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
if cassette.write_protected and cassette.filter_request(vcr_request):
|
if cassette.write_protected and cassette.filter_request(vcr_request):
|
||||||
raise CannotOverwriteExistingCassetteException(
|
raise CannotOverwriteExistingCassetteException(cassette=cassette, failed_request=vcr_request)
|
||||||
cassette=cassette, failed_request=vcr_request
|
|
||||||
)
|
|
||||||
|
|
||||||
log.info("%s not in cassette, sending to real server", vcr_request)
|
log.info("%s not in cassette, sending to real server", vcr_request)
|
||||||
|
|
||||||
Reference in New Issue
Block a user