def METHOD_NAME(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