def METHOD_NAME():
    mock_nuclio_config = mlrun.mlconf.mock_nuclio_deployment
    local_config = mlrun.mlconf.force_run_local
    # test setting env_file using set_environment()
    artifact_path = mlrun.mlconf.artifact_path or "./"
    mlrun.set_environment(mock_functions=True, artifact_path=artifact_path)
    assert mlrun.mlconf.mock_nuclio_deployment == "1"
    assert mlrun.mlconf.force_run_local == "1"
    mlrun.set_environment(mock_functions="auto", artifact_path=artifact_path)
    assert mlrun.mlconf.mock_nuclio_deployment == "auto"
    assert mlrun.mlconf.force_run_local == "auto"
    mlrun.mlconf.mock_nuclio_deployment = mock_nuclio_config
    mlrun.mlconf.force_run_local = local_config