code: def test_route_construction_fails_with_invalid_config():
      with pytest.raises(
          pydantic.ValidationError, match="model_server_url"
      ):
          MlflowModelServingConfig(model_server_url=None)
  
file_path: mlflow/tests/gateway/providers/test_mlflow.py
imports: from unittest import mock
  import pydantic
  import pytest
  from aiohttp import ClientTimeout
  from fastapi import HTTPException
  from fastapi.encoders import jsonable_encoder
  from mlflow.gateway.config import MlflowModelServingConfig, RouteConfig
  from mlflow.gateway.constants import MLFLOW_GATEWAY_ROUTE_TIMEOUT_SECONDS, MLFLOW_SERVING_RESPONSE_KEY
  from mlflow.gateway.providers.mlflow import MlflowModelServingProvider
  from mlflow.gateway.schemas import chat, completions, embeddings
  from tests.gateway.tools import MockAsyncResponse, mock_http_client
label_desc: Use image node_id 8 for calling a global function with example usage: test_route_construction_fails_with_invalid_config() without return types