def get_m(self): res = {} uids = self.uids uids.append(self.uid) for uid in uids: xd = Common.get_xd(uid) md = Common.get_money(uid)['bean'] res[uid] = (xd, md) return res
def test(self): for uid in self.uids: bean = Common.get_money(uid)['bean'] xd = Common.get_xd(uid) if bean != 100 or xd != 100: print(uid, bean, xd)