code: def test_octahedral_disjoint_paths():
      G = nx.octahedral_graph()
      for flow_func in flow_funcs:
          kwargs = {"flow_func": flow_func}
          errmsg = f"Assertion failed in function: {flow_func.__name__}"
          # edge disjoint paths
          edge_dpaths = list(nx.edge_disjoint_paths(G, 0, 5, **kwargs))
          assert are_edge_disjoint_paths(G, edge_dpaths), errmsg
          assert 4 == len(edge_dpaths), errmsg
          # node disjoint paths
          node_dpaths = list(nx.node_disjoint_paths(G, 0, 5, **kwargs))
          assert are_node_disjoint_paths(G, node_dpaths), errmsg
          assert 4 == len(node_dpaths), errmsg
  
imports: import pytest
  import networkx
  from networkx.algorithms import flow
  from networkx.utils import pairwise
label_desc: Use image node_id 8 for calling a global function with example usage: test_octahedral_disjoint_paths() without return types