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

Use {[testenv]deps}, instead of repeating testing requirements. Write another failing test for #109

This commit is contained in:
Ivan Malison
2014-09-19 14:31:49 -07:00
parent 8947f0fc5c
commit b6e96020c1
3 changed files with 64 additions and 115 deletions

View File

@@ -119,7 +119,7 @@ class VCRHTTPResponse(HTTPResponse):
return default
class VCRConnection:
class VCRConnection(object):
# A reference to the cassette that's currently being patched in
cassette = None
@@ -205,7 +205,7 @@ class VCRConnection:
pass
def getresponse(self, _=False):
'''Retrieve a the response'''
'''Retrieve the response'''
# Check to see if the cassette has a response for this request. If so,
# then return it
if self.cassette.can_play_response_for(self._vcr_request):