class_docstr: Test the Scene object's `.load` method for composites.
class_docstr_tok: ["Test","the","Scene","object","'s","`",".load","`","method","for","composites","."]
docstr: Test generating a composite after loading.
code: def test_no_generate_comp10(self):
      """Test generating a composite after loading."""
      # it is fine that an optional prereq doesn't exist
      scene = Scene(filenames=["fake1_1.txt"], reader="fake1")
      scene.load(["comp10"], generate=False)
      assert any(ds_id["name"] == "comp10" for ds_id in scene._wishlist)
      assert "comp10" not in scene._datasets
      # two dependencies should have been loaded
      assert len(scene._datasets) == 2
      assert len(scene.missing_datasets) == 1
  
      scene._generate_composites_from_loaded_datasets()
      assert any(ds_id["name"] == "comp10" for ds_id in scene._wishlist)
      assert "comp10" in scene._datasets
      assert not scene.missing_datasets
  
imports: from unittest import mock
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.tests.utils import make_cid, make_dataid, make_dsq, spy_decorator
label_desc: Use image node_id 17 for calling the TestLoadingComposites obj's underlying member method code with example usage: obj.test_no_generate_comp10() without return types