class_docstr: Test the IciL1bNCFileHandler reader.
class_docstr_tok: ["Test","the","IciL1bNCFileHandler","reader","."]
docstr: Test get global attributes.
docstr_tok: ["Test","get","global","attributes","."]
code: def test_get_global_attributes(self, reader):
      """Test get global attributes."""
      attributes = reader._get_global_attributes()
      assert attributes == {
          "filename": reader.filename,
          "start_time": datetime(2000, 1, 2, 3, 4, 5),
          "end_time": datetime(2000, 1, 2, 4, 5, 6),
          "spacecraft_name": "SGB",
          "ssp_lon": None,
          "sensor": "ICI",
          "filename_start_time": datetime(2000, 1, 1, 1, 0),
          "filename_end_time": datetime(2000, 1, 1, 2, 0),
          "platform_name": "SGB",
          "quality_group": {
              "duration_of_product": np.array(1000.0, dtype=np.float32),
              "overall_quality_flag": 0,
          },
      }
  
imports: from datetime import datetime
  from unittest.mock import patch
  import numpy
  import pytest
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.ici_l1b_nc import IciL1bNCFileHandler, InterpolationType
label_desc: Use image node_id 29 for calling the TestIciL1bNCFileHandler obj's underlying member method code with example usage: obj.test_get_global_attributes(reader) without return types