class_docstr: Test GRIB Reader.
class_docstr_tok: ["Test","GRIB","Reader","."]
docstr: Wrap pygrib to read fake data.
docstr_tok: ["Wrap","pygrib","to","read","fake","data","."]
code: def setup_method(self):
      """Wrap pygrib to read fake data."""
      from satpy._config import config_search_paths
  
      self.reader_configs = config_search_paths(
          os.path.join("readers", self.yaml_file)
      )
  
      try:
          import pygrib
      except ImportError:
          pygrib = None
      self.orig_pygrib = pygrib
      sys.modules["pygrib"] = mock.MagicMock()
  
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 1 for calling the TestGRIBReader obj's underlying member method code with example usage: obj.setup_method() without return types