From: Kevin McCarthy Date: Thu, 8 Aug 2013 07:40:09 +0000 (-1000) Subject: update vcr stubs to actually call mark_played correctly X-Git-Tag: v0.1.0~30 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d322bc01da8d1ad99ddfe553ea53d1ddc045b323;p=vcrpy.git update vcr stubs to actually call mark_played correctly --- diff --git a/vcr/stubs/__init__.py b/vcr/stubs/__init__.py index 2cc09f7..bea9546 100644 --- a/vcr/stubs/__init__.py +++ b/vcr/stubs/__init__.py @@ -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