code: def test_invalid_route_name(tmp_path, route_name):
      bad_name = {
          "routes": [
              {
                  "name": route_name,
                  "route_type": "bad/naming",
                  "model": {
                      "name": "claude-v1",
                      "provider": "anthropic",
                      "config": {
                          "anthropic_api_key": "claudekey",
                      },
                  },
              }
          ]
      }
  
      conf_path = tmp_path.joinpath("config.yaml")
      conf_path.write_text(yaml.safe_dump(bad_name))
  
      with pytest.raises(
          MlflowException,
          match="The route name provided contains disallowed characters",
      ):
          _load_route_config(conf_path)
  
file_path: mlflow/tests/gateway/test_gateway_config_parsing.py
imports: import re
  import warnings
  import pytest
  import yaml
  from mlflow.exceptions import MlflowException
  from mlflow.gateway.config import AnthropicConfig, OpenAIConfig, RouteConfig, _load_route_config, _resolve_api_key_from_input, _save_route_config
  from mlflow.gateway.utils import assemble_uri_path
label_desc: Use image node_id 10 for calling a global function with example usage: test_invalid_route_name(tmp_path, route_name) without return types