code: def testFlac(self):
      result = MetadataReader(
          filename=join(self.audioDir, "test.flac")
      )()
      tagsPool = result[7]
      tags = tagsPool.descriptorNames() + [
          tagsPool[t][0] for t in tagsPool.descriptorNames()
      ]
  
      self.assertEqualVector(
          result[:7],
          (
              "test flac",
              "mtg",
              "essentia",
              "",
              "Thrash Metal",
              "01",
              "2009",
          ),
      )
  
      # FIXME: Taglib 1.11.0 on OSX outputs bitrate inconsistent with 1.9.1 on Linux for FLAC and OGG
      # It might be due to different versions of Taglib or due to different platforms (we have not tested)
      # Therefore accept both bitrates as correct
  
      self.assertEqualVector(
          [result[8]] + list(result[10:]), (5, 44100, 4)
      )
      self.assertTrue(result[9] == 2201 or result[9] == 2202)
  
      self.assertEqualVector(
          tags,
          [
              "metadata.tags.album",
              "metadata.tags.artist",
              "metadata.tags.composer",
              "metadata.tags.copyright",
              "metadata.tags.date",
              "metadata.tags.description",
              "metadata.tags.discnumber",
              "metadata.tags.genre",
              "metadata.tags.performer",
              "metadata.tags.title",
              "metadata.tags.tracknumber",
              "metadata.tags.tracktotal",
              "essentia",
              "mtg",
              "roberto.toscano",
              "mtg.upf.edu",
              "2009",
              "This is not thrash metal",
              "01",
              "Thrash Metal",
              "roberto.toscano",
              "test flac",
              "01",
              "01",
          ],
      )
  
file_path: essentia/test/src/unittests/io/test_metadatareader.py
imports: from essentia_test import *
  import os
label_desc: Use image node_id 1 for calling the TestMetadataReader obj's underlying member method code with example usage: obj.testFlac() without return types