code: def test_list_all_configured_routes(gateway):
      gateway_client = MlflowGatewayClient(gateway_uri=gateway.url)
  
      routes = gateway_client.search_routes()
      assert all(isinstance(x, Route) for x in routes)
      assert routes[0].dict() == {
          "model": {"name": "text-davinci-003", "provider": "openai"},
          "name": "completions",
          "route_type": "llm/v1/completions",
          "route_url": resolve_route_url(
              gateway.url, "gateway/completions/invocations"
          ),
      }
      assert routes[1].dict() == {
          "model": {"name": "gpt-3.5-turbo", "provider": "openai"},
          "name": "chat",
          "route_type": "llm/v1/chat",
          "route_url": resolve_route_url(
              gateway.url, "gateway/chat/invocations"
          ),
      }
  
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 19 for calling a global function with example usage: test_list_all_configured_routes(gateway) without return types