class_docstr: Tests for the GAASP reader.
class_docstr_tok: ["Tests","for","the","GAASP","reader","."]
docstr: Test that variables are loaded properly.
docstr_tok: ["Test","that","variables","are","loaded","properly","."]
code: def test_basic_load(self, filenames, loadable_ids):
      """Test that variables are loaded properly."""
      from satpy.readers import load_reader
  
      with mock.patch(
          "satpy.readers.amsr2_l2_gaasp.xr.open_dataset"
      ) as od:
          od.side_effect = fake_open_dataset
          r = load_reader(self.reader_configs)
          loadables = r.select_files_from_pathnames(filenames)
          r.create_filehandlers(loadables)
          loaded_data_arrs = r.load(loadable_ids)
          assert loaded_data_arrs
          for data_id, data_arr in loaded_data_arrs.items():
              self._check_area(data_id, data_arr)
              self._check_fill(data_id, data_arr)
              self._check_attrs(data_arr)
  
file_path: satpy/satpy/tests/reader_tests/test_amsr2_l2_gaasp.py
imports: import os
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 7 for calling the TestGAASPReader obj's underlying member method code with example usage: obj.test_basic_load(filenames, loadable_ids) without return types