code: def testEdgeConnectivity(self):
      self.assertTrue(self.g.edge_connectivity(0, 3) == 2)
      self.assertTrue(Graph.Barabasi(50).edge_connectivity() == 1)
      self.assertTrue(self.g.adhesion() == 2)
      self.assertTrue(Graph.Tree(10, 3).adhesion() == 1)
      self.assertTrue(Graph.Tree(10, 3, "out").adhesion() == 0)
      self.assertRaises(ValueError, self.g.edge_connectivity, 0)
  
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 MaxFlowTests obj's underlying member method code with example usage: obj.testEdgeConnectivity() without return types