class_docstr: Test Sentinel-3 SST L2 reader.
docstr: Test retrieval of the sensor name from the netCDF file.
docstr_tok: ["Test","retrieval","of","the","sensor","name","from","the","netCDF","file","."]
code: def test_get_sensor(self, tmp_path):
      """Test retrieval of the sensor name from the netCDF file."""
      dt_valid = datetime(2022, 3, 21, 11, 26, 40)  # 202203211200Z
      filename_info = {
          "field_type": "NARSST",
          "generating_centre": "FRA_",
          "satid": "NOAA20_",
          "valid_time": dt_valid,
      }
  
      tmp_filepath = tmp_path / "fake_dataset.nc"
      self.fake_dataset.to_netcdf(os.fspath(tmp_filepath))
  
      test = GHRSSTL2FileHandler(
          os.fspath(tmp_filepath), filename_info, None
      )
      assert test.sensor == "viirs"
  
file_path: satpy/satpy/tests/reader_tests/test_ghrsst_l2.py
imports: import os
  import tarfile
  from datetime import datetime
  from pathlib import Path
  import numpy
  import pytest
  import xarray
  from satpy.readers.ghrsst_l2 import GHRSSTL2FileHandler
label_desc: Use image node_id 6 for calling the TestGHRSSTL2Reader obj's underlying member method code with example usage: obj.test_get_sensor(tmp_path) without return types