#NEWLINE# def testFailureReason( self ) : #NEWLINE# #INDENT# self . api . enqueue ( 'GET FILETRANSFER 1234 FAILUREREASON' , 'FILETRANSFER 1234 FAILUREREASON FAILED_READ' ) #NEWLINE# t = self . obj . FailureReason #NEWLINE# self . assertInstance ( self , str ) #NEWLINE# self . assertEqual ( t , 'FAILED_READ' ) #NEWLINE# self . failUnless ( self . api . is_empty ( ) )