def METHOD_NAME():
    """Test that ``offline`` is added for backwards-compatibility."""
    config_file = Path(esmvalcore.__file__).parent / 'config-user.yml'
    cfg = Config(CFG.copy())
    cfg.load_from_file(config_file)
    session = cfg.start_session('my_session')
    assert session['search_esgf'] == 'never'
    assert session['offline'] is True