code: def test_from_adjacency(self):
      nodelist = [1, 2]
      dftrue = pd.DataFrame(
          [[1, 1], [1, 0]], dtype=int, index=nodelist, columns=nodelist
      )
      G = nx.Graph([(1, 1), (1, 2)])
      df = nx.to_pandas_adjacency(G, dtype=int)
      pd.testing.assert_frame_equal(df, dftrue)
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 15 for calling the TestConvertPandas obj's underlying member method code with example usage: obj.test_from_adjacency() without return types