mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 17:45:35 +00:00
@@ -170,7 +170,7 @@ class VCRConnectionMixin:
|
|||||||
return VCRHTTPResponse(response)
|
return VCRHTTPResponse(response)
|
||||||
else:
|
else:
|
||||||
if self.cassette.write_protected:
|
if self.cassette.write_protected:
|
||||||
raise Exception("cassette is write protected")
|
raise Exception("Can't overwrite existing cassette in your current record mode.")
|
||||||
|
|
||||||
# Otherwise, we should send the request, then get the response
|
# Otherwise, we should send the request, then get the response
|
||||||
# and return it.
|
# and return it.
|
||||||
|
|||||||
Reference in New Issue
Block a user