#NEWLINE# def test_send_lines( self ) : #NEWLINE# #INDENT# lines = [ 'foo' , 'bar' , 'baz' ] #NEWLINE# expected_result = 'foo\r\nbar\r\nbaz\r\n' #NEWLINE# self . wrapper . _send_lines ( lines ) #NEWLINE# self . assertEqual ( expected_result , self . wrapper . out_buffer )