code: def test_load_flow_with_gateway(yaml_file):
      path = os.path.join(cur_dir.parent.parent.parent, yaml_file)
      flow = Flow.load_config(
          path,
      )
      with flow:
          # protocol and port are overridden by the gateway configuration
          assert flow.protocol == ProtocolType.HTTP
          assert flow.port == 12344
  
imports: import os
  from pathlib import Path
  import numpy
  import pytest
  from docarray.document.generators import from_ndarray
  from jina import Executor, Flow
  from jina.enums import ProtocolType
  from jina.excepts import BadYAMLVersion
  from jina.jaml import JAML
  from jina.jaml.parsers import get_supported_versions
  from jina.parsers.flow import set_flow_parser
label_desc: Use image node_id 15 for calling a global function with example usage: test_load_flow_with_gateway(yaml_file) without return types