code: def test_server_update_config_removed_then_recreated(
      tmp_path: 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
          # Give filewatch a moment to cycle
          gateway.wait_reload()
          # remove config
          config.unlink()
          gateway.wait_reload()
          gateway.assert_health()
  
          save_yaml(config, {"routes": basic_config_dict["routes"][1:]})
          gateway.wait_reload()
          response = gateway.get(BASE_ROUTE)
          assert response.json()["routes"] == basic_routes[1:]
  
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 8 for calling a global function with example usage: test_server_update_config_removed_then_recreated(tmp_path, basic_config_dict, basic_routes) without return types