class_docstr: Tests for the FengYun4 base class for the components missed by AGRI/GHI tests.
docstr: Test case where we pass a bad sensor name, must be GHI or AGRI.
docstr_tok: ["Test","case","where","we","pass","a","bad","sensor","name",",","must","be","GHI","or","AGRI","."]
code: def test_badsensor(self):
      """Test case where we pass a bad sensor name, must be GHI or AGRI."""
      fy4 = FY4Base(
          None,
          {"platform_id": "FY4A", "instrument": "FCI"},
          self.file_type,
      )
      with pytest.raises(
          ValueError, match="Unsupported sensor type: FCI"
      ):
          fy4.calibrate_to_reflectance(None, None, None)
      with pytest.raises(
          ValueError, match="Error, sensor must be GHI or AGRI."
      ):
          fy4.calibrate_to_bt(None, None, None)
  
file_path: satpy/satpy/tests/reader_tests/test_fy4_base.py
imports: from unittest import mock
  import pytest
  from satpy.readers.fy4_base import FY4Base
  from satpy.tests.reader_tests.test_agri_l1 import FakeHDF5FileHandler2
label_desc: Use image node_id 3 for calling the Test_FY4Base obj's underlying member method code with example usage: obj.test_badsensor() without return types