#NEWLINE# def _verify_language( self , language , phone_number ) : #NEWLINE# #INDENT# previous_language = translation . get_language ( ) #NEWLINE# translation . activate ( language ) #NEWLINE# expected = unicode ( HELP_REGISTERED ) #NEWLINE# translation . activate ( previous_language ) #NEWLINE# script = ( '\n          %(phone)s > help\n          %(phone)s < %(help_registered)s\n        ' % { #NEWLINE# #INDENT# 'phone' : phone_number , #NEWLINE# 'help_registered' : expected , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . run_script ( script )