code: def test_delete_endpoint():
      client = get_deploy_client("http://localhost:5000")
      with pytest.raises(NotImplementedError, match=r".*"):
          client.delete_endpoint(endpoint="test")
  
file_path: mlflow/tests/deployments/mlflow/test_mlflow.py
imports: from unittest import mock
  import pytest
  from mlflow.deployments import get_deploy_client
  from mlflow.deployments.mlflow import MlflowDeploymentClient
label_desc: Use image node_id 4 for calling a global function with example usage: test_delete_endpoint() without return types