class_docstr: Test case for collect_cf_datasets.
class_docstr_tok: ["Test","case","for","collect_cf_datasets","."]
docstr: Test that if no DataArrays, collect_cf_datasets raise error.
docstr_tok: ["Test","that","if","no","DataArrays",",","collect_cf_datasets","raise","error","."]
code: def test_empty_collect_cf_datasets(self):
      """Test that if no DataArrays, collect_cf_datasets raise error."""
      from satpy.cf.datasets import collect_cf_datasets
  
      with pytest.raises(RuntimeError):
          collect_cf_datasets(list_dataarrays=[])
  
file_path: satpy/satpy/tests/cf_tests/test_datasets.py
imports: import datetime
  import numpy
  import pytest
  import xarray
  from pyresample import AreaDefinition, create_area_def
label_desc: Use image node_id 1 for calling the TestCollectCfDatasets obj's underlying member method code with example usage: obj.test_empty_collect_cf_datasets() without return types