code: def test_plugin_raising_error():
      client = deployments.get_deploy_client(f_target)
      # special case to raise error
      os.environ["raiseError"] = "True"
      with pytest.raises(RuntimeError, match="Error requested"):
          client.list_deployments()
      os.environ["raiseError"] = "False"
  
imports: import os
  from unittest import mock
  import pytest
  from mlflow import deployments
  from mlflow.deployments.plugin_manager import DeploymentPlugins
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 13 for calling a global function with example usage: test_plugin_raising_error() without return types