class_docstr: Test the HRITFileHandler.
class_docstr_tok: ["Test","the","HRITFileHandler","."]
docstr: Test getting the dataset.
docstr_tok: ["Test","getting","the","dataset","."]
code: def test_get_dataset_with_raw_metadata(
      self, calibrate, parent_get_dataset
  ):
      """Test getting the dataset."""
      calibrate.return_value = self._get_fake_data()
      key = make_dataid(name="VIS006", calibration="reflectance")
      info = setup.get_fake_dataset_info()
      self.reader.include_raw_metadata = True
      res = self.reader.get_dataset(key, info)
      assert "raw_metadata" in res.attrs
  
imports: import unittest
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from numpy import testing
  from pyproj import CRS
  import satpy.tests.reader_tests.test_seviri_l1b_hrit_setup
  from satpy.readers.seviri_l1b_hrit import HRITMSGEpilogueFileHandler, HRITMSGFileHandler, HRITMSGPrologueFileHandler
  from satpy.tests.reader_tests.test_seviri_base import ORBIT_POLYNOMIALS_INVALID
  from satpy.tests.reader_tests.test_seviri_l1b_calibration import TestFileHandlerCalibrationBase
  from satpy.tests.utils import assert_attrs_equal, make_dataid
label_desc: Use image node_id 7 for calling the TestHRITMSGFileHandler obj's underlying member method code with example usage: obj.test_get_dataset_with_raw_metadata(calibrate, parent_get_dataset) without return types