From d322bc01da8d1ad99ddfe553ea53d1ddc045b323 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Wed, 7 Aug 2013 21:40:09 -1000 Subject: [PATCH] update vcr stubs to actually call mark_played correctly --- vcr/stubs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0