code: def dotest(self, type):
      if not has_gaia:
          return
  
      testfiles = listFiles()
      transfo, gt = loadTestData(type)
  
      for f in testfiles:
          predicted = transfo(YamlInput(filename=f)())["genre"]
          self.assertEquals(predicted, gt[os.path.split(f)[-1][:-4]])
  
file_path: essentia/test/src/unittests/highlevel/test_gaiatransform.py
imports: from essentia_test import *
  import os, os.path
  import yaml
label_desc: Use image node_id 1 for calling the TestGaiaTransform obj's underlying member method code with example usage: obj.dotest(type) without return types