class_docstr: Testing the file handler.
class_docstr_tok: ["Testing","the","file","handler","."]
docstr: Test dataset end time stamp.
code: def test_end_time(self):
      """Test dataset end time stamp."""
      from satpy.readers.goes_imager_nc import (
          FULL_DISC,
          SCAN_DURATION,
          UNKNOWN_SECTOR,
      )
  
      expected = {
          UNKNOWN_SECTOR: self.time,
          FULL_DISC: self.time + SCAN_DURATION[FULL_DISC],
      }
      for sector, end_time in expected.items():
          self.reader.sector = sector
          assert self.reader.end_time == end_time
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 9 for calling the GOESNCBaseFileHandlerTest obj's underlying member method code with example usage: obj.test_end_time() without return types