#NEWLINE# def testHangup( self ) : #NEWLINE# #INDENT# 'convenience: should Hangup to a url via POST' #NEWLINE# r = plivohelper . Response ( ) #NEWLINE# r . append ( plivohelper . Hangup ( ) ) #NEWLINE# r = self . strip ( r ) #NEWLINE# self . assertEquals ( r , '<Response><Hangup/></Response>' )