#NEWLINE# def test_map_multiple( self ) : #NEWLINE# #INDENT# ab = mock . Mock ( ) #NEWLINE# self . mode . map ( 'ab' , ab ) #NEWLINE# self . mode . keypress ( self . editor , [ 'a' ] ) #NEWLINE# self . assertFalse ( ab . called ) #NEWLINE# self . mode . keypress ( self . editor , [ 'b' ] ) #NEWLINE# ab . assert_called_once_with ( self . editor )