code: def test_openai_mlflow_exception(mock_openai_creds):
      client = get_deploy_client("openai")
      with mock.patch(
          "mlflow.openai.api_request_parallel_processor.process_api_requests",
          side_effect=MlflowException("foo"),
      ) as mock_post:
          with pytest.raises(MlflowException, match="foo"):
              client.predict(
                  endpoint="test",
                  inputs={
                      "messages": [
                          {"role": "user", "content": "Hello!"},
                      ],
                  },
              )
          mock_post.assert_called_once()
  
file_path: mlflow/tests/deployments/openai/test_openai.py
imports: from unittest import mock
  import pytest
  from mlflow.deployments import get_deploy_client
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 14 for calling a global function with example usage: test_openai_mlflow_exception(mock_openai_creds) without return types