code: def test_get_subgraph(graph):
      F, G, N = graph
      cugraph_store = CuGraphStore(F, G, N)
  
      if len(G.keys()) > 1:
          for edge_type in G.keys():
              # Subgraphing is not implemented yet and should raise an error
              with pytest.raises(ValueError):
                  sg = cugraph_store._subgraph([edge_type])
  
      sg = cugraph_store._subgraph(list(G.keys()))
      assert isinstance(sg, cugraph.MultiGraph)
  
      num_edges = sum([len(v[0]) for v in G.values()])
      assert sg.number_of_edges() == num_edges
  
imports: import cugraph
  from cugraph_pyg.data.cugraph_store import CuGraphTensorAttr, CuGraphEdgeAttr, EdgeLayout
  from cugraph_pyg.data import CuGraphStore
  import cudf
  import cupy
  import numpy
  from cugraph.utilities.utils import import_optional, MissingModule
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_subgraph(graph) without return types