def METHOD_NAME(mocker, tmp_path):
    """
    Fixture to prevent modifying the actual global config
    """
    def _user_config_dir(appname, *_args, **_kwargs):
        return str(tmp_path / appname)
    mocker.patch("iterative_telemetry.user_config_dir", _user_config_dir)