code: def test_http_non_default_route_prefix_on_non_root_node(
      serve_instance,
  ):
      m1 = Model.bind(1)
      serve_dag = Driver.bind(m1)
  
      deployments = pipeline_build(serve_dag)
      non_root_deployment = deployments[0].options(route_prefix="/")
      deployments[0] = non_root_deployment
  
      with pytest.raises(
          ValueError,
          match=(
              "Only one deployment in an Serve Application or DAG can have "
              "non-None route prefix"
          ),
      ):
          _ = get_and_validate_ingress_deployment(deployments)
  
file_path: ray/python/ray/serve/tests/test_deployment_graph_ingress.py
imports: import sys
  import pytest
  from ray import serve
  from ray.serve._private.deployment_graph_build import build
  from ray.serve._private.deployment_graph_build import get_and_validate_ingress_deployment
label_desc: Use image node_id 7 for calling a global function with example usage: test_http_non_default_route_prefix_on_non_root_node(serve_instance) without return types