1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

update vcr stubs to actually call mark_played correctly

This commit is contained in:
Kevin McCarthy
2013-08-07 21:40:09 -10:00
parent e39b48e73b
commit d322bc01da

View File

@@ -72,7 +72,7 @@ class VCRConnectionMixin:
response = self.cassette.response(self._request)
# Alert the cassette to the fact that we've served another
# response for the provided requests
self.cassette.mark_played()
self.cassette.mark_played(self._request)
return VCRHTTPResponse(response)
else:
# Otherwise, we made an actual request, and should return the response