class_docstr: Test VIIRS SDR downloading.
class_docstr_tok: ["Test","VIIRS","SDR","downloading","."]
code: def _assert_bands_in_filenames(
      band_prefixes, filenames, num_files_per_band
  ):
      for band_name in band_prefixes:
          files_for_band = [x for x in filenames if band_name in x]
          assert files_for_band
          assert len(set(files_for_band)) == num_files_per_band
  
imports: from __future__ import annotations
  import contextlib
  import io
  import os
  import sys
  import tarfile
  import unittest
  from collections import defaultdict
  from unittest import mock
  import pytest
label_desc: Use image node_id 7 for calling the TestVIIRSSDRDemoDownload obj's underlying member method code with example usage: obj._assert_bands_in_filenames(band_prefixes, filenames, num_files_per_band) without return types