#NEWLINE# def test_successful( self ) : #NEWLINE# #INDENT# text = self . text ( ) #NEWLINE# results = self . do ( text = text ) #NEWLINE# self . assertTrue ( results ) #NEWLINE# self . assertEqual ( self . stdout , ( 'stdout: %s' % text ) . encode ( 'utf-8' ) ) #NEWLINE# self . assertEqual ( results . stderr , ( 'stderr: %s' % text ) . encode ( 'utf-8' ) )