def test_curly_left(self): mock_event = MagicMock() curly_left(mock_event) mock_event.cli.current_buffer.insert_text.assert_has_calls([call("{"), call("}", move_cursor=False)])
def test_curly_left(binder): curly_left(binder) binder.cli.current_buffer.insert_text.assert_has_calls([call("{"), call("}", move_cursor=False)])