mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
change response to response_of
This commit is contained in:
@@ -52,7 +52,7 @@ class Cassette(object):
|
||||
'''Add a pair of request, response to this cassette'''
|
||||
self.data[request] = response
|
||||
|
||||
def response(self, request):
|
||||
def response_of(self, request):
|
||||
'''Find the response corresponding to a request'''
|
||||
return self.data[request]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user