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