code: def test_read_header():
      """Test that reading header returns the header correctly converted to a dictionary."""
      keys = ("SatelliteId", "NominalLongitude", "SatelliteStatus")
      values = (324, 0.0, 1)
      expected = dict(zip(keys, values))
  
      types = (np.uint16, np.float32, np.uint8)
      dtypes = np.dtype([(k, t) for k, t in zip(keys, types)])
      hdr_data = np.array([values], dtype=dtypes)
  
      with mock.patch(
          "satpy.readers.seviri_l1b_native.np.fromfile"
      ) as fromfile:
          fromfile.return_value = hdr_data
          actual = recarray2dict(hdr_data)
      assert actual == expected
  
imports: from __future__ import annotations
  import os
  import unittest
  import warnings
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.readers.eum_base import recarray2dict, time_cds_short
  from satpy.readers.seviri_l1b_native import ASCII_STARTSWITH, ImageBoundaries, NativeMSGFileHandler, Padder, get_available_channels, has_archive_header
  from satpy.tests.reader_tests.test_seviri_base import ORBIT_POLYNOMIALS, 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 11 for calling a global function with example usage: test_read_header() without return types