code: def test_end_time(sgli_vn_file):
      """Test that the end time is extracted."""
      handler = HDF5SGLI(sgli_vn_file, {"resolution": "L"}, {})
      microseconds = END_TIME.microsecond % 1000
      assert handler.end_time == END_TIME - timedelta(
          microseconds=microseconds
      )
  
imports: import sys
  from datetime import datetime, timedelta
  import dask
  import h5py
  import numpy
  import pytest
  from satpy.readers.sgli_l1b import HDF5SGLI
label_desc: Use image node_id 6 for calling a global function with example usage: test_end_time(sgli_vn_file) without return types