#NEWLINE# def test_ssl_server( self ) : #NEWLINE# #INDENT# sock = socket . socket ( ) #NEWLINE# sock . settimeout ( 1.0 ) #NEWLINE# ssl_sock = ssl . wrap_socket ( response ) #NEWLINE# ssl_sock . connect ( ( '127.0.0.1' , 4040 ) ) #NEWLINE# request = repr ( ssl_sock ) #NEWLINE# ssl_sock . send ( request ) #NEWLINE# response = ssl_sock . recv ( 1024 ) #NEWLINE# self . assertEqual ( response , request ) #NEWLINE# ssl_sock . close ( )