code: def test_nbunch_graph(self):
      G = self.G()
      G.add_nodes_from(["A", "B", "C", "D", "E", "F", "G", "H"])
      nbunch = self.K3
      G.add_nodes_from(nbunch)
      assert sorted(G.nodes(), key=str), [
          1,
          2,
          3,
          "A",
          "B",
          "C",
          "D",
          "E",
          "F",
          "G",
          "H",
      ]
  
imports: import pytest
  import networkx
  from networkx import convert_node_labels_to_integers
  from networkx.utils import edges_equal, nodes_equal
label_desc: Use image node_id 12 for calling the HistoricalTests obj's underlying member method code with example usage: obj.test_nbunch_graph() without return types