code: def test_les_miserables_graph_cutset(self):
      G = nx.les_miserables_graph()
      nx.set_edge_attributes(G, 1, "capacity")
      for flow_func in flow_funcs:
          T = nx.gomory_hu_tree(G, flow_func=flow_func)
          assert nx.is_tree(T)
          for u, v in combinations(G, 2):
              cut_value, edge = self.minimum_edge_weight(T, u, v)
              assert nx.minimum_cut_value(G, u, v) == cut_value
  
file_path: networkx/networkx/algorithms/flow/tests/test_gomory_hu.py
imports: from itertools import combinations
  import pytest
  import networkx
  from networkx.algorithms.flow import boykov_kolmogorov, dinitz, edmonds_karp, preflow_push, shortest_augmenting_path
label_desc: Use image node_id 7 for calling the TestGomoryHuTree obj's underlying member method code with example usage: obj.test_les_miserables_graph_cutset() without return types