code: def testMinCutValue(self):
      g = self.constructSimpleGraph()
      self.assertTrue(g.mincut_value(0, 3) == 2)
      self.assertTrue(g.mincut_value(0, 3, g.es["capacity"]) == 4)
      self.assertTrue(g.mincut_value(0, 3, "capacity") == 4)
      self.assertRaises(KeyError, g.mincut_value, 0, 3, "unknown")
      self.assertTrue(g.mincut_value() == 2)
      self.assertTrue(g.mincut_value(source=0) == 2)
      self.assertTrue(g.mincut_value(target=2) == 2)
  
imports: import unittest
  from igraph import Cut, Graph, EdgeSeq, InternalError
  from itertools import combinations
  from random import randint
label_desc: Use image node_id 3 for calling the CutTests obj's underlying member method code with example usage: obj.testMinCutValue() without return types