class_docstr: Tests for the radiances.
docstr: Test whether the correct calibration methods are called.
docstr_tok: ["Test","whether","the","correct","calibration","methods","are","called","."]
code: def test_calibrate(self):
      """Test whether the correct calibration methods are called."""
      for ch in self.channels:
          if not is_vis_channel(ch):
              calibs = {"brightness_temperature": "_calibrate_ir"}
              for calib, method in calibs.items():
                  with mock.patch.object(
                      self.reader, method
                  ) as target_func:
                      self.reader.calibrate(
                          data=self.reader.nc["data"],
                          calibration=calib,
                          channel=ch,
                      )
                      target_func.assert_called()
  
file_path: satpy/satpy/tests/reader_tests/test_goes_imager_nc_eum.py
imports: import unittest
  from unittest import mock
  import numpy
  import xarray
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the GOESNCEUMFileHandlerRadianceTest obj's underlying member method code with example usage: obj.test_calibrate() without return types