class_docstr: Main test class for the LI L2 reader.
class_docstr_tok: ["Main","test","class","for","the","LI","L2","reader","."]
docstr: Test getting lon/lat dataset on accumulated product.
docstr_tok: ["Test","getting","lon\/lat","dataset","on","accumulated","product","."]
code: def test_generate_coords_on_lon_lat(self, filetype_infos):
      """Test getting lon/lat dataset on accumulated product."""
      accumulated_products = [
          "li_l2_af_nc",
          "li_l2_afr_nc",
          "li_l2_afa_nc",
      ]
      coordinate_datasets = ["longitude", "latitude"]
  
      for accum_prod in accumulated_products:
          for ds_name in coordinate_datasets:
              handler = LIL2NCFileHandler(
                  "filename",
                  {},
                  extract_filetype_info(filetype_infos, accum_prod),
              )
              dsid = make_dataid(name=ds_name)
              handler.generate_coords_from_scan_angles = mock.MagicMock(
                  side_effect=handler.generate_coords_from_scan_angles
              )
              handler.get_dataset(dsid)
              assert handler.generate_coords_from_scan_angles.called
  
imports: import os
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyproj import Proj
  from satpy._config import config_search_paths
  from satpy.readers.li_base_nc import LINCFileHandler
  from satpy.readers.li_l2_nc import LI_GRID_SHAPE, LIL2NCFileHandler
  from satpy.readers.yaml_reader import load_yaml_configs
  from satpy.tests.reader_tests._li_test_utils import FakeLIFileHandlerBase, extract_filetype_info, get_product_schema, products_dict
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 25 for calling the TestLIL2 obj's underlying member method code with example usage: obj.test_generate_coords_on_lon_lat(filetype_infos) without return types