class_docstr: A test of the ELECTRO-L main file handler functions.
docstr: Test get dataset.
docstr_tok: ["Test","get","dataset","."]
code: def test_get_dataset(self, calibrate_mock, *mocks):
      """Test get dataset."""
      key = make_dataid(name="CH1", calibration="counts")
      fake_array = mock.MagicMock()
      fake_array.attrs = dict()
      calibrate_mock.return_value = fake_array
      fh = HRITGOMSFileHandler()
      fh.platform_name = "Electro"
      fh.mda = {
          "projection_parameters": {"SSP_longitude": 0.0},
          "orbital_parameters": {"satellite_nominal_longitude": 0.5},
      }
      info = {
          "units": "m",
          "standard_name": "electro",
          "wavelength": 5.0,
      }
      output = fh.get_dataset(key, info)
  
      # Check that 'calibrate' is called
      calibrate_mock.assert_called()
  
      # Check that the correct attributes are returned
      attrs_exp = info.copy()
      attrs_exp.update(
          {
              "orbital_parameters": {
                  "satellite_nominal_longitude": 0.5,
                  "satellite_nominal_latitude": 0.0,
                  "projection_longitude": 0.0,
                  "projection_latitude": 0.0,
                  "projection_altitude": 35785831.00,
              },
              "platform_name": "Electro",
              "sensor": "msu-gs",
          }
      )
      assert dict(output.attrs, **attrs_exp) == output.attrs
  
imports: import datetime
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from xarray import DataArray
  from satpy.readers.electrol_hrit import HRITGOMSEpilogueFileHandler, HRITGOMSFileHandler, HRITGOMSPrologueFileHandler, epilogue, image_acquisition, prologue, recarray2dict, satellite_status
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 1 for calling the TestHRITGOMSFileHandler obj's underlying member method code with example usage: obj.test_get_dataset(calibrate_mock) without return types