class_docstr: Test the HRITFileHandler.
class_docstr_tok: ["Test","the","HRITFileHandler","."]
docstr: Test provision of raw metadata.
docstr_tok: ["Test","provision","of","raw","metadata","."]
code: def test_get_raw_mda(self):
      """Test provision of raw metadata."""
      self.reader.mda = {"segment": 1, "loff": 123}
      self.reader.prologue_.reduce = lambda max_size: {"prologue": 1}
      self.reader.epilogue_.reduce = lambda max_size: {"epilogue": 1}
      expected = {"prologue": 1, "epilogue": 1, "segment": 1}
      assert self.reader._get_raw_mda() == expected
  
      # Make sure _get_raw_mda() doesn't modify the original dictionary
      assert "loff" in self.reader.mda
  
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 8 for calling the TestHRITMSGFileHandler obj's underlying member method code with example usage: obj.test_get_raw_mda() without return types