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 loading two composites that depend on similar wavelengths.
code: def test_load_comp11_and_23(self):
      """Test loading two composites that depend on similar wavelengths."""
      scene = Scene(filenames=["fake1_1.txt"], reader="fake1")
      # mock the available comps/mods in the compositor loader
      avail_comps = scene.available_composite_ids()
      assert make_cid(name="comp11") in avail_comps
      assert make_cid(name="comp23") in avail_comps
      # it is fine that an optional prereq doesn't exist
      scene.load(["comp11", "comp23"])
      comp11_node = scene._dependency_tree["comp11"]
      comp23_node = scene._dependency_tree["comp23"]
      assert comp11_node.data[1][-1].name["name"] == "ds10"
      assert comp23_node.data[1][0].name["name"] == "ds8"
      loaded_ids = list(scene._datasets.keys())
      assert len(loaded_ids) == 2
      assert "comp11" in scene
      assert "comp23" in scene
  
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 19 for calling the TestLoadingComposites obj's underlying member method code with example usage: obj.test_load_comp11_and_23() without return types