#NEWLINE# def testRingToneStatus( self ) : #NEWLINE# #INDENT# self . api . enqueue ( 'GET RINGTONE 1 STATUS' , 'RINGTONE 1 STATUS ON' ) #NEWLINE# t = self . obj . RingToneStatus ( 1 ) #NEWLINE# self . assertInstance ( t , bool ) #NEWLINE# self . assertEqual ( t , True ) #NEWLINE# self . failUnless ( self . api . is_empty ( ) ) #NEWLINE# self . api . enqueue ( 'SET RINGTONE 1 STATUS OFF' , 'RINGTONE 1 STATUS OFF' ) #NEWLINE# self . obj . RingToneStatus ( 1 , False ) #NEWLINE# self . failUnless ( self . api . is_empty ( ) )