def METHOD_NAME(self, desc, isrange, issolvable, hasprivatekeys):
    info = self.nodes[0].getdescriptorinfo(desc)
    assert_equal(info, self.nodes[0].getdescriptorinfo(descsum_create(desc)))
    assert_equal(info['descriptor'], descsum_create(desc))
    assert_equal(info['isrange'], isrange)
    assert_equal(info['issolvable'], issolvable)
    assert_equal(info['hasprivatekeys'], hasprivatekeys)