class_docstr: Tests for getting the dataset.
class_docstr_tok: ["Tests","for","getting","the","dataset","."]
docstr: Test getting the dataset.
docstr_tok: ["Test","getting","the","dataset","."]
code: def test_get_dataset(self, file_handler):
      """Test getting the dataset."""
      dataset_id = make_dataid(
          name="VIS006", resolution=3000, calibration="counts"
      )
      dataset_info = {
          "units": "1",
          "wavelength": (1, 2, 3),
          "standard_name": "counts",
      }
      xarr = file_handler.get_dataset(dataset_id, dataset_info)
      expected = self._exp_data_array()
      xr.testing.assert_equal(xarr, expected)
      assert "raw_metadata" not in xarr.attrs
      assert file_handler.start_time == datetime(2006, 1, 1, 12, 15, 0)
      assert file_handler.end_time == datetime(2006, 1, 1, 12, 30, 0)
      assert_attrs_equal(xarr.attrs, expected.attrs, tolerance=1e-4)
  
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 4 for calling the TestNativeMSGDataset obj's underlying member method code with example usage: obj.test_get_dataset(file_handler) without return types