Lines Matching refs:testServer
23 testServer = 'smtp.gmail.com' variable in SmtpTest
31 with support.transient_internet(self.testServer):
32 server = smtplib.SMTP(self.testServer, self.remotePort)
45 testServer = 'smtp.gmail.com' variable in SmtpSSLTest
50 with support.transient_internet(self.testServer):
51 server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
57 with support.transient_internet(self.testServer):
58 server = smtplib.SMTP_SSL(self.testServer)
67 with support.transient_internet(self.testServer):
68 server = smtplib.SMTP_SSL(self.testServer, self.remotePort, context=context)
73 with support.transient_internet(self.testServer):
74 can_verify = check_ssl_verifiy(self.testServer, self.remotePort)
80 with support.transient_internet(self.testServer):
81 server = smtplib.SMTP_SSL(self.testServer, self.remotePort, context=context)