<s> import unittest <EOL> from test import test_support <EOL> import smtplib <EOL> test_support . requires ( "<STR_LIT>" ) <EOL> class SmtpSSLTest ( unittest . TestCase ) : <EOL> testServer = '<STR_LIT>' <EOL> remotePort = <NUM_LIT> <EOL> def test_connect ( self ) : <EOL> test_support . get_attribute ( smtplib , '<STR_LIT>' ) <EOL> with test_support . transient_internet ( self . testServer ) : <EOL> server = smtplib . SMTP_SSL ( self . testServer , self . remotePort ) <EOL> server . ehlo ( ) <EOL> server . quit ( ) <EOL> def test_connect_default_port ( self ) : <EOL> test_support . get_attribute ( smtplib , '<STR_LIT>' ) <EOL> with test_support . transient_internet ( self . testServer ) : <EOL> server = smtplib . SMTP_SSL ( self . testServer ) <EOL> server . ehlo ( ) <EOL> server . quit ( ) <EOL> def test_main ( ) : <EOL> test_support . run_unittest ( SmtpSSLTest ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> test_main ( ) </s>
