def test_generateid_pathkey(self):
    app = "testapp"
    key = "/root/child"
    (id, block) = self.zk.generateIDBlock(app, key)
    print "id=%d, block=%d" % (id, block)
    self.assertTrue(0 >= id)
    self.assertTrue(block > 0)
dataset/ETHPy150Open AppScale/appscale/AppDB/test/functional/test_zktransaction.py/TestZKTransaction.test_generateid_pathkey/swapped operands of `>=`