code: def test_delete_deployment_with_custom_args():
      res = runner.invoke(
          cli.delete_deployment,
          [
              "--target",
              f_target,
              "--name",
              f_name,
              "-C",
              "raiseError=True",
          ],
      )
      assert isinstance(res.exception, RuntimeError)
  
imports: import json
  import os
  from unittest import mock
  import pytest
  from click.testing import CliRunner
  from mlflow.deployments import cli
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 7 for calling a global function with example usage: test_delete_deployment_with_custom_args() without return types