class_docstr: Test VIRR L1B Reader.
class_docstr_tok: ["Test","VIRR","L1B","Reader","."]
docstr: Test all bands have the right units.
docstr_tok: ["Test","all","bands","have","the","right","units","."]
code: def test_agri_all_bands_have_right_units(self):
      """Test all bands have the right units."""
      reader = self._create_reader_for_resolutions(*RESOLUTION_LIST)
  
      band_names = ALL_BAND_NAMES
      res = reader.load(band_names)
      assert len(res) == 14
  
      for band_name in band_names:
          assert res[band_name].shape == (2, 5)
          self._check_units(band_name, res)
  
imports: import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 5 for calling the Test_HDF_AGRI_L1_cal obj's underlying member method code with example usage: obj.test_agri_all_bands_have_right_units() without return types