class_docstr: Test GRIB Reader.
class_docstr_tok: ["Test","GRIB","Reader","."]
docstr: Test matching of file patterns.
docstr_tok: ["Test","matching","of","file","patterns","."]
code: def test_file_pattern(self):
      """Test matching of file patterns."""
      from satpy.readers import load_reader
  
      filenames = [
          "quinoa.grb",
          "tempeh.grb2",
          "tofu.grib2",
          "falafel.grib",
          "S_NWC_NWP_1900-01-01T00:00:00Z_999.grib",
      ]
  
      r = load_reader(self.reader_configs)
      files = r.select_files_from_pathnames(filenames)
      assert len(files) == 4
  
imports: import os
  import sys
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from satpy.dataset import DataQuery
label_desc: Use image node_id 6 for calling the TestGRIBReader obj's underlying member method code with example usage: obj.test_file_pattern() without return types