code: def testKautz(self):
      g = Graph.Kautz(2, 2)
      deg_in = g.degree(mode="in")
      deg_out = g.degree(mode="out")
      # This is not a proper test, but should spot most errors
      self.assertTrue(
          g.is_directed() and deg_in == [2] * 12 and deg_out == [2] * 12
      )
  
imports: import unittest
  from igraph import Graph, InternalError
label_desc: Use image node_id 9 for calling the GeneratorTests obj's underlying member method code with example usage: obj.testKautz() without return types