code: def testExtractDrumTracksTooShort(self):
      music_testing_lib.add_track_to_sequence(
          self.note_sequence,
          0,
          [(12, 127, 3, 4), (14, 50, 6, 7)],
          is_drum=True,
      )
      quantized_sequence = sequences_lib.quantize_note_sequence(
          self.note_sequence, steps_per_quarter=1
      )
      drum_tracks, _ = drum_pipelines.extract_drum_tracks(
          quantized_sequence, min_bars=2, gap_bars=1
      )
      drum_tracks = [list(drums) for drums in drum_tracks]
      self.assertEqual([], drum_tracks)
  
      del self.note_sequence.notes[:]
      music_testing_lib.add_track_to_sequence(
          self.note_sequence,
          0,
          [(12, 127, 3, 4), (14, 50, 7, 8)],
          is_drum=True,
      )
      quantized_sequence = sequences_lib.quantize_note_sequence(
          self.note_sequence, steps_per_quarter=1
      )
      drum_tracks, _ = drum_pipelines.extract_drum_tracks(
          quantized_sequence, min_bars=2, gap_bars=1
      )
      drum_tracks = [list(drums) for drums in drum_tracks]
      self.assertEqual(
          [
              [
                  NO_DRUMS,
                  NO_DRUMS,
                  NO_DRUMS,
                  DRUMS(12),
                  NO_DRUMS,
                  NO_DRUMS,
                  NO_DRUMS,
                  DRUMS(14),
              ]
          ],
          drum_tracks,
      )
  
file_path: magenta/magenta/pipelines/drum_pipelines_test.py
imports: from absl.testing import absltest
  from magenta.common import testing_lib
  from magenta.pipelines import drum_pipelines
  from note_seq import drums_lib
  from note_seq import sequences_lib
  from note_seq import testing_lib
  from note_seq.protobuf import music_pb2
label_desc: Use image node_id 6 for calling the DrumPipelinesTest obj's underlying member method code with example usage: obj.testExtractDrumTracksTooShort() without return types