Home
last modified time | relevance | path

Searched refs:FakeSocket (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_httplib.py25 class FakeSocket: class
51 class EPipeSocket(FakeSocket):
55 FakeSocket.__init__(self, text)
105 conn.sock = FakeSocket('blahblahblah')
133 conn.sock = FakeSocket(None)
149 conn.sock = FakeSocket(None)
162 conn.sock = FakeSocket(None)
173 conn.sock = FakeSocket(None)
183 conn.sock = FakeSocket(None)
221 sock = FakeSocket('')
[all …]
Dtest_urllib.py26 class FakeSocket(io.BytesIO): class
50 self.sock = FakeSocket(self.fakedata)
Dtest_xmlrpc.py1026 class FakeSocket: class
1057 conn.sock = self.fake_socket = FakeSocket()
/external/autotest/client/cros/netprotos/
Dfake_host.py26 sock = FakeSocket(self, family, sock_type)
31 class FakeSocket(object): class
/external/python/cpython2/Lib/
Dhttplib.py1294 def FakeSocket (sock, sslobj): function