code: def test_client_create_route_raises(gateway):
      gateway_client = MlflowGatewayClient(gateway_uri=gateway.url)
  
      # This API is available only in Databricks for route creation
      with pytest.raises(
          MlflowException,
          match="The create_route API is only available when",
      ):
          gateway_client.create_route(
              "some-route",
              "llm/v1/chat",
              {
                  "name": "a-route",
                  "provider": "openai",
                  "config": {
                      "openai_api_key": "mykey",
                      "openai_api_type": "openai",
                  },
              },
          )
  
imports: from unittest import mock
  import pytest
  from requests.exceptions import HTTPError, Timeout
  import mlflow.gateway.utils
  from mlflow.environment_variables import MLFLOW_GATEWAY_URI
  from mlflow.exceptions import InvalidUrlException, MlflowException
  from mlflow.gateway import MlflowGatewayClient, set_gateway_uri
  from mlflow.gateway.config import Route
  from mlflow.gateway.constants import MLFLOW_GATEWAY_SEARCH_ROUTES_PAGE_SIZE
  from mlflow.gateway.utils import resolve_route_url
  from tests.gateway.tools import Gateway, save_yaml
label_desc: Use image node_id 23 for calling a global function with example usage: test_client_create_route_raises(gateway) without return types