4 from test
import support
7 support
.requires("network")
9 class SmtpSSLTest(unittest
.TestCase
):
10 testServer
= 'smtp.gmail.com'
13 def test_connect(self
):
14 support
.get_attribute(smtplib
, 'SMTP_SSL')
15 server
= smtplib
.SMTP_SSL(self
.testServer
, self
.remotePort
)
20 support
.run_unittest(SmtpSSLTest
)
22 if __name__
== "__main__":