class_docstr: Test ACSPO Reader.
class_docstr_tok: ["Test","ACSPO","Reader","."]
docstr: Wrap NetCDF4 file handler with our own fake handler.
docstr_tok: ["Wrap","NetCDF4","file","handler","with","our","own","fake","handler","."]
code: def setup_method(self):
      """Wrap NetCDF4 file handler with our own fake handler."""
      from satpy._config import config_search_paths
      from satpy.readers.acspo import ACSPOFileHandler
  
      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(
          ACSPOFileHandler, "__bases__", (FakeNetCDF4FileHandler2,)
      )
      self.fake_handler = self.p.start()
      self.p.is_local = True
  
file_path: satpy/satpy/tests/reader_tests/test_acspo.py
imports: import os
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  import pytest
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 1 for calling the TestACSPOReader obj's underlying member method code with example usage: obj.setup_method() without return types