class_docstr: Writer class of fake mws level-1b data.
docstr: Write the quality group.
docstr_tok: ["Write","the","quality","group","."]
code: def _write_quality_group(dataset):
      """Write the quality group."""
      group = dataset.createGroup("quality")
      group.overall_quality_flag = 0
      duration_of_product = group.createVariable(
          "duration_of_product", "f4"
      )
      duration_of_product[:] = 5944.0
  
imports: import logging
  from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.mws_l1b import MWSL1BFile, get_channel_index_from_name
label_desc: Use image node_id 5 for calling the MWSL1BFakeFileWriter obj's underlying member method code with example usage: obj._write_quality_group(dataset) without return types