code: def test_fluent_get_valid_route(gateway):
      set_gateway_uri(gateway_uri=gateway.url)
  
      route = get_route("completions")
      assert isinstance(route, Route)
      assert route.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"
          ),
      }
  
imports: from unittest import mock
  import pytest
  from requests.exceptions import HTTPError
  import mlflow.gateway.utils
  from mlflow.environment_variables import MLFLOW_GATEWAY_URI
  from mlflow.exceptions import MlflowException
  from mlflow.gateway import create_route, delete_route, get_gateway_uri, get_limits, get_route, query, search_routes, set_gateway_uri, set_limits
  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 8 for calling a global function with example usage: test_fluent_get_valid_route(gateway) without return types