code: def test_openai_authentication_error(set_envs):
      mock_response = mock.Mock()
      mock_response.status_code = 401
      mock_response.json.return_value = {
          "error": {
              "message": "Incorrect API key provided: redacted. You can find your API key at https://platform.openai.com/account/api-keys.",
              "type": "invalid_request_error",
              "param": None,
              "code": "invalid_api_key",
          }
      }
  
      with mock.patch(
          "requests.post", return_value=mock_response
      ) as mock_post:
          with pytest.raises(
              MlflowException,
              match="Authentication Error for OpenAI. Error response",
          ):
              score_model_on_payload(
                  "openai:/gpt-3.5-turbo",
                  "my prompt",
                  {"temperature": 0.1},
              )
          mock_post.assert_called_once()
  
imports: from unittest import mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.gateway.config import Route, RouteModelInfo
  from mlflow.metrics.genai.model_utils import _parse_model_uri, score_model_on_payload
label_desc: Use image node_id 10 for calling a global function with example usage: test_openai_authentication_error(set_envs) without return types