code: def test_summary_graph(self):
      original_graph = self.build_original_graph()
      summary_graph = self.build_summary_graph()
  
      relationship_attributes = ("type",)
      generated_summary_graph = nx.snap_aggregation(
          original_graph, self.node_attributes
      )
      relabeled_summary_graph = self.deterministic_labels(
          generated_summary_graph
      )
      assert nx.is_isomorphic(summary_graph, relabeled_summary_graph)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 1 for calling the TestSNAPNoEdgeTypes obj's underlying member method code with example usage: obj.test_summary_graph() without return types