#NEWLINE# def testNestedSpeakPlayWait( self ) : #NEWLINE# #INDENT# ' a gather with a say, play, and pause' #NEWLINE# r = plivohelper . Response ( ) #NEWLINE# g = plivohelper . GetDigits ( ) #NEWLINE# g . append ( plivohelper . Speak ( 'Hey' ) ) #NEWLINE# g . append ( plivohelper . Play ( 'hey.mp3' ) ) #NEWLINE# g . append ( plivohelper . Wait ( ) ) #NEWLINE# r . append ( g ) #NEWLINE# r = self . strip ( r ) #NEWLINE# self . assertEquals ( r , '<Response><GetDigits><Speak>Hey</Speak><Play>hey.mp3</Play><Wait/></GetDigits></Response>' )