Searched refs:FakeSocket (Results 1 – 9 of 9) sorted by relevance
25 class FakeSocket: class51 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 …]
26 class FakeSocket(io.BytesIO): class50 self.sock = FakeSocket(self.fakedata)
1022 class FakeSocket: class1053 conn.sock = self.fake_socket = FakeSocket()
45 class FakeSocket: class78 class EPipeSocket(FakeSocket):82 FakeSocket.__init__(self, text)126 return FakeSocket(*self.fake_socket_args)148 conn.sock = FakeSocket('blahblahblah')176 conn.sock = FakeSocket(None)192 conn.sock = FakeSocket(None)205 conn.sock = FakeSocket(None)216 conn.sock = FakeSocket(None)226 conn.sock = FakeSocket(None)[all …]
60 class FakeSocket(io.BytesIO): class91 self.sock = FakeSocket(self.fakedata)
26 sock = FakeSocket(self, family, sock_type)31 class FakeSocket(object): class
295 class FakeSocket(object):304 @mock.patch("scapy.scapypipes.conf.L2socket", FakeSocket)305 @mock.patch("scapy.scapypipes.conf.L3socket", FakeSocket)
1294 def FakeSocket (sock, sslobj): function
118 return httplib.FakeSocket(sock, ssl_sock)