class_docstr: Test SMOS L2 WINDReader.
class_docstr_tok: ["Test","SMOS","L2","WINDReader","."]
docstr: Wrap NetCDF4 file handler with our own fake handler.
docstr_tok: ["Wrap","NetCDF4","file","handler","with","our","own","fake","handler","."]
code: def setUp(self):
      """Wrap NetCDF4 file handler with our own fake handler."""
      from satpy._config import config_search_paths
      from satpy.readers.smos_l2_wind import SMOSL2WINDFileHandler
  
      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(
          SMOSL2WINDFileHandler,
          "__bases__",
          (FakeNetCDF4FileHandlerSMOSL2WIND,),
      )
      self.fake_handler = self.p.start()
      self.p.is_local = True
  
file_path: satpy/satpy/tests/reader_tests/test_smos_l2_wind.py
imports: import os
  import unittest
  from datetime import datetime
  from unittest import mock
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 1 for calling the TestSMOSL2WINDReader obj's underlying member method code with example usage: obj.setUp() without return types