class_docstr: Test high-level reading functionality of GLM L2 reader.
docstr: Create a fake reader to test.
docstr_tok: ["Create","a","fake","reader","to","test","."]
code: def setUp(self, xr_):
      """Create a fake reader to test."""
      from satpy._config import config_search_paths
      from satpy.readers import load_reader
  
      self.reader_configs = config_search_paths(
          os.path.join("readers", self.yaml_file)
      )
      fake_dataset = setup_fake_dataset()
      xr_.open_dataset.return_value = fake_dataset
      r = load_reader(self.reader_configs)
      loadables = r.select_files_from_pathnames(
          [
              "OR_GLM-L2-GLMC-M3_G16_s20192862159000_e20192862200000_c20192862200350.nc",
              "CSPP_CG_GLM-L2-GLMC-M3_G16_s20192862159000_e20192862200000_c20192862200350.nc",
          ]
      )
      assert len(loadables) == 2
      r.create_filehandlers(loadables)
      self.reader = r
  
file_path: satpy/satpy/tests/reader_tests/test_glm_l2.py
imports: import os
  import unittest
  from unittest import mock
  import numpy
  import xarray
label_desc: Use image node_id 1 for calling the TestGLML2Reader obj's underlying member method code with example usage: obj.setUp(xr_) without return types