#NEWLINE# def testBalance( self ) : #NEWLINE# #INDENT# self . api . enqueue ( 'GET PROFILE PSTN_BALANCE' , 'PROFILE PSTN_BALANCE 1234' ) #NEWLINE# t = self . obj . Balance #NEWLINE# self . assertInstance ( t , int ) #NEWLINE# self . assertEqual ( t , 1234 ) #NEWLINE# self . failUnless ( self . api . is_empty ( ) )