code: def test_load_gateway_override_with(yaml_file, gateway_name):
      with BaseGateway.load_config(
          f"yaml/{yaml_file}",
          uses_with={"arg1": "arg1", "arg2": "arg2", "arg3": "arg3"},
          runtime_args={"port": [12345]},
      ) as gateway:
          assert gateway.__class__.__name__ == gateway_name
          assert gateway.arg1 == "arg1"
          assert gateway.arg2 == "arg2"
          assert gateway.arg3 == "arg3"
  
imports: import os
  import pytest
  import yaml
  from jina import Deployment
  from jina.constants import __default_executor__
  from jina.helper import expand_dict, expand_env_var
  from jina.jaml import JAML
  from jina.serve.executors import BaseExecutor
  from jina.serve.runtimes.gateway.gateway import BaseGateway
  from jina.serve.runtimes.gateway.http import HTTPGateway
label_desc: Use image node_id 17 for calling a global function with example usage: test_load_gateway_override_with(yaml_file, gateway_name) without return types