class_docstr: Swap-in NetCDF4 File Handler for reader tests to use.
class_docstr_tok: ["Swap-in","NetCDF4","File","Handler","for","reader","tests","to","use","."]
docstr: Get fake file content from 'get_test_content'.
docstr_tok: ["Get","fake","file","content","from","'get_test_content","'","."]
code: def __init__(self, filename, filename_info, filetype_info, **kwargs):
      """Get fake file content from 'get_test_content'."""
      if HDF4FileHandler is object:
          raise ImportError(
              "Base 'HDF4FileHandler' could not be " "imported."
          )
      super(HDF4FileHandler, self).__init__(
          filename, filename_info, filetype_info
      )
      self.file_content = self.get_test_content(
          filename, filename_info, filetype_info
      )
      self.file_content.update(kwargs)
  
file_path: satpy/satpy/tests/reader_tests/test_hdf4_utils.py
imports: import os
  import unittest
  import numpy
  import xarray
label_desc: Use image node_id 1 to create a new FakeHDF4FileHandler object from inherited base classes: HDF4FileHandler with example: obj = FakeHDF4FileHandler(filename, filename_info, filetype_info)