1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 17:45:35 +00:00

added a fix to httplib2

This commit is contained in:
Charly
2017-01-04 17:55:11 -05:00
committed by Kevin McCarthy
parent d86ffe7130
commit e5d6327de9
2 changed files with 12 additions and 1 deletions

View File

@@ -287,7 +287,9 @@ class VCRConnection(object):
# Cassette is write-protected, don't actually connect
return
return self.real_connection.connect(*args, **kwargs)
from vcr.patch import force_reset
with force_reset():
return self.real_connection.connect(*args, **kwargs)
@property
def sock(self):