code: def test_list_endpoints_azure_openai(mock_azure_openai_creds):
      client = get_deploy_client("openai")
  
      with pytest.raises(
          NotImplementedError,
          match="List endpoints is not implemented for Azure OpenAI API",
      ):
          client.list_endpoints()
  
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 7 for calling a global function with example usage: test_list_endpoints_azure_openai(mock_azure_openai_creds) without return types