Lines Matching refs:HOST
32 HOST = socket_helper.HOST variable
83 client = self.client(HOST, self.port)
89 client = self.client(HOST, self.port,
97 client = self.client("%s:%s" % (HOST, self.port))
103 client = self.client(HOST, self.port, local_hostname="testhost")
113 client = self.client(HOST, self.port)
124 client = self.client(HOST, self.port, timeout=None)
133 self.client(HOST, self.port, timeout=0)
137 client = self.client(HOST, self.port, timeout=30)
146 client.connect(HOST, self.port)
156 client.connect(HOST, self.port)
249 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1),
284 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
305 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
313 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
322 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
331 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
341 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
350 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
362 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
371 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
381 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
399 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
416 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
434 smtp = smtplib.SMTP(HOST, self.port, local_hostname='hi\nX-INJECTED',
455 HOST, self.port, local_hostname='localhost',
477 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
496 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
522 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
557 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
586 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
618 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
652 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
692 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
770 HOST, self.port, 'localhost', 3)
802 HOST, self.port, 'localhost', 3)
1039 self.serv = SimSMTPServer((HOST, 0), ('nowhere', -1), decode_data=True)
1063 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1068 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1090 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1105 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1122 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1130 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1138 with smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1147 with smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1162 HOST, self.port, local_hostname='localhost',
1177 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1187 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1205 smtp = smtplib.SMTP(HOST, self.port,
1216 smtp = smtplib.SMTP(HOST, self.port,
1224 smtp.connect(HOST, self.port)
1231 with smtplib.SMTP(HOST, self.port) as smtp:
1235 with smtplib.SMTP(HOST, self.port) as smtp:
1241 with smtplib.SMTP(HOST, self.port) as smtp:
1252 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1263 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1273 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1291 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1301 HOST, self.port, local_hostname='localhost',
1317 HOST, self.port, local_hostname='localhost',
1331 HOST, self.port, local_hostname='localhost',
1339 HOST, self.port, local_hostname='localhost',
1390 self.serv = SimSMTPUTF8Server((HOST, 0), ('nowhere', -1),
1416 HOST, self.port, local_hostname='localhost',
1426 HOST, self.port, local_hostname='localhost',
1441 HOST, self.port, local_hostname='localhost',
1478 HOST, self.port, local_hostname='localhost',
1520 (HOST, 0), ('nowhere', -1), decode_data=True)
1544 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
1551 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',