mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 09:35:34 +00:00
update vcr stubs to actually call mark_played correctly
This commit is contained in:
@@ -72,7 +72,7 @@ class VCRConnectionMixin:
|
|||||||
response = self.cassette.response(self._request)
|
response = self.cassette.response(self._request)
|
||||||
# Alert the cassette to the fact that we've served another
|
# Alert the cassette to the fact that we've served another
|
||||||
# response for the provided requests
|
# response for the provided requests
|
||||||
self.cassette.mark_played()
|
self.cassette.mark_played(self._request)
|
||||||
return VCRHTTPResponse(response)
|
return VCRHTTPResponse(response)
|
||||||
else:
|
else:
|
||||||
# Otherwise, we made an actual request, and should return the response
|
# Otherwise, we made an actual request, and should return the response
|
||||||
|
|||||||
Reference in New Issue
Block a user