class_docstr: Test the GACLAC file handler.
docstr: Test getting the qualitiy flags.
code: def test_get_dataset_qual_flags(self, *mocks):
      """Test getting the qualitiy flags."""
      from satpy.tests.utils import make_dataid
  
      qual_flags = np.ones((3, 7))
      reader = _get_reader_mocked()
      reader.get_qual_flags.return_value = qual_flags
      fh = _get_fh_mocked(
          reader=reader,
          start_line=None,
          end_line=None,
          strip_invalid_coords=False,
          interpolate_coords=True,
      )
  
      key = make_dataid(name="qual_flags")
      info = {"name": "qual_flags"}
      res = fh.get_dataset(key=key, info=info)
      exp = xr.DataArray(
          qual_flags,
          name=res.name,
          dims=("y", "num_flags"),
          coords={
              "acq_time": ("y", [0, 1, 2]),
              "num_flags": [
                  "Scan line number",
                  "Fatal error flag",
                  "Insufficient data for calibration",
                  "Insufficient data for calibration",
                  "Solar contamination of blackbody in channels 3",
                  "Solar contamination of blackbody in channels 4",
                  "Solar contamination of blackbody in channels 5",
              ],
          },
      )
      xr.testing.assert_equal(res, exp)
  
imports: from datetime import datetime
  from unittest import TestCase, mock
  import dask.array
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 7 for calling the TestGACLACFile obj's underlying member method code with example usage: obj.test_get_dataset_qual_flags() without return types