code: def test_no_openai_api_key():
      client = get_deploy_client("openai")
      with pytest.raises(
          MlflowException,
          match="OPENAI_API_KEY environment variable not set",
      ):
          client.predict(
              endpoint="test",
              inputs={
                  "messages": [
                      {"role": "user", "content": "Hello!"},
                  ],
              },
          )
  
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 11 for calling a global function with example usage: test_no_openai_api_key() without return types