1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 01:25:34 +00:00

change response to response_of

This commit is contained in:
Kevin McCarthy
2013-08-10 13:00:23 -10:00
parent 4f0668471e
commit a50cebaf21
3 changed files with 6 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ class VCRConnectionMixin:
# Check to see if the cassette has a response for this request. If so,
# then return it
if self._request in self.cassette:
response = self.cassette.response(self._request)
response = self.cassette.response_of(self._request)
# Alert the cassette to the fact that we've served another
# response for the provided requests
self.cassette.mark_played(self._request)