class_docstr: Tests for getting the dataset.
class_docstr_tok: ["Tests","for","getting","the","dataset","."]
docstr: Test start/end nominal/observation time handling.
docstr_tok: ["Test","start\/end","nominal\/observation","time","handling","."]
code: def test_time(self, file_handler):
      """Test start/end nominal/observation time handling."""
      assert (
          datetime(2006, 1, 1, 12, 15, 9, 304888)
          == file_handler.observation_start_time
      )
      assert (
          datetime(
              2006,
              1,
              1,
              12,
              15,
          )
          == file_handler.start_time
      )
      assert file_handler.start_time == file_handler.nominal_start_time
  
      assert (
          datetime(2006, 1, 1, 12, 27, 9, 304888)
          == file_handler.observation_end_time
      )
      assert file_handler.end_time == file_handler.nominal_end_time
      assert (
          datetime(
              2006,
              1,
              1,
              12,
              30,
          )
          == file_handler.end_time
      )
  
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 5 for calling the TestNativeMSGDataset obj's underlying member method code with example usage: obj.test_time(file_handler) without return types