'Tests that the node attribute dictionary of the two graphs is
the same object.'

def test_node_attr_dict(self):

    for v in self.H:
        assert_equal(self.G.node[v], self.H.node[v])
    self.G.node[0]['name'] = 'foo'
    assert_equal(self.G.node[0], self.H.node[0])
    self.H.node[1]['name'] = 'bar'
    assert_equal(self.G.node[1], self.H.node[1])
