class_docstr: Test MODIS L2 reader.
class_docstr_tok: ["Test","MODIS","L2","reader","."]
docstr: Test loading quality assurance.
docstr_tok: ["Test","loading","quality","assurance","."]
code: def test_load_quality_assurance(self, modis_l2_nasa_mod35_file):
      """Test loading quality assurance."""
      scene = Scene(
          reader="modis_l2", filenames=modis_l2_nasa_mod35_file
      )
      dataset_name = "quality_assurance"
      scene.load([dataset_name])
      quality_assurance_id = make_dataid(
          name=dataset_name, resolution=1000
      )
      assert quality_assurance_id in scene
      quality_assurance = scene[quality_assurance_id]
      assert quality_assurance.shape == _shape_for_resolution(1000)
      _check_shared_metadata(quality_assurance, expect_area=True)
  
file_path: satpy/satpy/tests/reader_tests/modis_tests/test_modis_l2.py
imports: from __future__ import annotations
  import dask
  import dask.array
  import numpy
  import pytest
  from pytest_lazyfixture import lazy_fixture
  from satpy import Scene, available_readers
  from satpy.tests.utils import CustomScheduler, make_dataid
  from ._modis_fixtures import _shape_for_resolution
label_desc: Use image node_id 4 for calling the TestModisL2 obj's underlying member method code with example usage: obj.test_load_quality_assurance(modis_l2_nasa_mod35_file) without return types