class_docstr: Test ATMS SDR Reader.
class_docstr_tok: ["Test","ATMS","SDR","Reader","."]
docstr: Wrap HDF5 file handler with our own fake handler.
docstr_tok: ["Wrap","HDF5","file","handler","with","our","own","fake","handler","."]
code: def setup_method(self):
      """Wrap HDF5 file handler with our own fake handler."""
      from satpy.readers.viirs_atms_sdr_base import JPSS_SDR_FileHandler
  
      self.reader_configs = config_search_paths(
          os.path.join("readers", self.yaml_file)
      )
      # http://stackoverflow.com/questions/12219967/how-to-mock-a-base-class-with-python-mock-library
      self.p = mock.patch.object(
          JPSS_SDR_FileHandler,
          "__bases__",
          (FakeHDF5_ATMS_SDR_FileHandler,),
      )
      self.fake_handler = self.p.start()
      self.p.is_local = True
  
imports: import os
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  from satpy._config import config_search_paths
  from satpy.readers import load_reader
  from satpy.readers.atms_sdr_hdf5 import ATMS_CHANNEL_NAMES
  from satpy.readers.viirs_atms_sdr_base import DATASET_KEYS
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 2 for calling the TestATMS_SDR_Reader obj's underlying member method code with example usage: obj.setup_method() without return types