#NEWLINE# def test_help( self ) : #NEWLINE# #INDENT# from shinymud.modes.text_edit_mode import TextEditMode #NEWLINE# room = self . area . new_room ( ) #NEWLINE# help_msg = ( ( ( ( ( ( ( ( ( '    @done - saves your progress and exits the editor.\n' + '    @cancel - quit the editor without saving changes.\n' ) + '    @show - display your progress so far, line by line.\n' ) + '    @preview - preview the formatted version of your text.\n' ) + '    @clear - clears ALL of your progress, giving you an empty slate.\n' ) + '    @delete line# - delete a specific line.\n' ) + '    @replace line# new_sentence - replace a line with a new sentence:\n' ) + '        e.g. "@replace 5 My new sentence."\n' ) + '    @insert line# new_sentence - inserts a sentence at line#:\n' ) + '        e.g. "@insert 1 My new sentence."\n' ) #NEWLINE# mode = TextEditMode ( self . bob , room , 'description' , room . description ) #NEWLINE# mode . help ( ) #NEWLINE# self . assertTrue ( ( help_msg in room . bob . outq ) )