code: def test_cutoff():
      G = nx.complete_graph(5)
      for local_func in [
          local_edge_connectivity,
          local_node_connectivity,
      ]:
          for flow_func in flow_funcs:
              if flow_func is flow.preflow_push:
                  # cutoff is not supported by preflow_push
                  continue
              for cutoff in [3, 2, 1]:
                  result = local_func(
                      G, 0, 4, flow_func=flow_func, cutoff=cutoff
                  )
                  assert (
                      cutoff == result
                  ), f"cutoff error in {flow_func.__name__}"
  
imports: import itertools
  import pytest
  import networkx
  from networkx.algorithms import flow
  from networkx.algorithms.connectivity import local_edge_connectivity, local_node_connectivity
label_desc: Use image node_id 22 for calling a global function with example usage: test_cutoff() without return types