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: Mimic reader input file content.
  
  Args:
      filename (str): input filename
      filename_info (dict): Dict of metadata pulled from filename
      filetype_info (dict): Dict of metadata from the reader's yaml config for this file type
  
  Returns: dict of file content with keys like:
  
      - 'dataset'
      - '/attr/global_attr'
      - 'dataset/attr/global_attr'
      - 'dataset/shape'
docstr_tok: ["Mimic","reader","input","file","content",".","Args",":","filename","(","str",")",":","input","filename","filename_info","(","dict",")",":","Dict","of","metadata","pulled","from","filename","filetype_info","(","dict",")",":","Dict","of","metadata","from","the","reader","'s","yaml","config","for","this","file","type","Returns",":","dict","of","file","content","with","keys","like",":","-","'dataset'","-","'\/attr\/global_attr'","-","'dataset\/attr\/global_attr'","-","'dataset\/shape","'"]
code: def get_test_content(self, filename, filename_info, filetype_info):
      """Mimic reader input file content.
  
      Args:
          filename (str): input filename
          filename_info (dict): Dict of metadata pulled from filename
          filetype_info (dict): Dict of metadata from the reader's yaml config for this file type
  
      Returns: dict of file content with keys like:
  
          - 'dataset'
          - '/attr/global_attr'
          - 'dataset/attr/global_attr'
          - 'dataset/shape'
  
      """
      raise NotImplementedError(
          "Fake File Handler subclass must implement 'get_test_content'"
      )
  
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 2 for calling the FakeHDF4FileHandler obj's underlying member method code with example usage: obj.get_test_content(filename, filename_info, filetype_info) without return types