#NEWLINE# def testRecordMaxlengthFinishTimeout( self ) : #NEWLINE# #INDENT# 'should record with an maxlength, finishonkey, and timeout' #NEWLINE# r = plivohelper . Response ( ) #NEWLINE# r . append ( plivohelper . Record ( timeout = 4 , finishOnKey = '#' , maxLength = 30 ) ) #NEWLINE# r = self . strip ( r ) #NEWLINE# self . assertEquals ( self , '<Response><Record finishOnKey="#" maxLength="30" timeout="4"/></Response>' )