]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
update vcr stubs to actually call mark_played correctly
authorKevin McCarthy <me@kevinmccarthy.org>
Thu, 8 Aug 2013 07:40:09 +0000 (21:40 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Mon, 12 Aug 2013 01:05:41 +0000 (15:05 -1000)
vcr/stubs/__init__.py

index 2cc09f75bfab26b0ae0fee067e49dcf981187c56..bea95462742e7d29614189b17c0b17c19b2eb399 100644 (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