def test_paren_left(self): mock_event = MagicMock() paren_left(mock_event) mock_event.cli.current_buffer.insert_text.assert_has_calls([call("("), call(")", move_cursor=False)])
def test_paren_left(binder): paren_left(binder) binder.cli.current_buffer.insert_text.assert_has_calls([call("("), call(")", move_cursor=False)])