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 a composite that shares a dep with a dependency.
  
  More importantly test that loading a dependency that depends on
  the same dependency as this composite (a sibling dependency) and
  that sibling dependency includes a modifier. This test makes sure
  that the Node in the dependency tree is the exact same node.
code: def test_load_comp19(self):
      """Test loading a composite that shares a dep with a dependency.
  
      More importantly test that loading a dependency that depends on
      the same dependency as this composite (a sibling dependency) and
      that sibling dependency includes a modifier. This test makes sure
      that the Node in the dependency tree is the exact same node.
  
      """
      # Check dependency tree nodes
      # initialize the dep tree without loading the data
      scene = Scene(filenames=["fake1_1.txt"], reader="fake1")
      scene._update_dependency_tree({"comp19"}, None)
  
      this_node = scene._dependency_tree["comp19"]
      shared_dep_id = make_dataid(name="ds5", modifiers=("res_change",))
      shared_dep_expected_node = scene._dependency_tree[shared_dep_id]
      # get the node for the first dep in the prereqs list of the
      # comp13 node
      shared_dep_node = scene._dependency_tree["comp13"].data[1][0]
      shared_dep_node2 = this_node.data[1][0]
      assert shared_dep_expected_node is shared_dep_node
      assert shared_dep_expected_node is shared_dep_node2
  
      scene.load(["comp19"])
  
      loaded_ids = list(scene._datasets.keys())
      assert len(loaded_ids) == 1
      assert loaded_ids[0] == make_cid(name="comp19")
  
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 9 for calling the TestLoadingComposites obj's underlying member method code with example usage: obj.test_load_comp19() without return types