class_docstr: Main test class for the LI L2 reader.
class_docstr_tok: ["Main","test","class","for","the","LI","L2","reader","."]
docstr: Test loading of all datasets from all products.
docstr_tok: ["Test","loading","of","all","datasets","from","all","products","."]
code: def test_dataset_loading(self, filetype_infos):
      """Test loading of all datasets from all products."""
      # Iterate on all the available product types:
      for ptype, pinfo in products_dict.items():
          ftype = pinfo["ftype"]
          filename_info = {"start_time": "0000", "end_time": "1000"}
  
          handler = LIL2NCFileHandler(
              "filename",
              filename_info,
              extract_filetype_info(filetype_infos, ftype),
          )
          ds_desc = handler.ds_desc
  
          # retrieve the schema that what used to generate the content for that product:
          settings = get_product_schema(ptype)
  
          # Now we check all the variables are available:
          if "variables" in settings:
              self._test_dataset_variables(settings, ds_desc, handler)
  
              # check the sector variables:
          if "sector_variables" in settings:
              self._test_dataset_sector_variables(
                  settings, ds_desc, handler
              )
  
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 9 for calling the TestLIL2 obj's underlying member method code with example usage: obj.test_dataset_loading(filetype_infos) without return types