code: def test_server_static_endpoints(
      tmp_path, basic_config_dict, basic_routes
  ):
      config = tmp_path / "config.yaml"
      save_yaml(config, basic_config_dict)
  
      with Gateway(config) as gateway:
          response = gateway.get(BASE_ROUTE)
          assert response.json()["routes"] == basic_routes
  
          for route in ["docs", "redoc"]:
              response = gateway.get(route)
              assert response.status_code == 200
  
          for index, route in enumerate(basic_config_dict["routes"]):
              response = gateway.get(f"{BASE_ROUTE}{route['name']}")
              assert response.json() == basic_routes[index]
  
file_path: mlflow/tests/gateway/test_runner.py
imports: from pathlib import Path
  import pytest
  from tests.gateway.tools import Gateway, save_yaml
label_desc: Use image node_id 9 for calling a global function with example usage: test_server_static_endpoints(tmp_path, basic_config_dict, basic_routes) without return types