class_docstr: Tests for the FengYun4 base class for the components missed by AGRI/GHI tests.
docstr: Test case where we pass a bad calibration type, radiance is not supported.
docstr_tok: ["Test","case","where","we","pass","a","bad","calibration","type",",","radiance","is","not","supported","."]
code: def test_badplatform(self):
      """Test case where we pass a bad calibration type, radiance is not supported."""
      with pytest.raises(KeyError):
          FY4Base(
              None,
              {"platform_id": "FY3D", "instrument": "AGRI"},
              self.file_type,
          )
  
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 5 for calling the Test_FY4Base obj's underlying member method code with example usage: obj.test_badplatform() without return types