def test_A36(self): u"""测试第二个金币堆的金币数显示是否与meta一致""" CoinList = GetMeta('shop.xml', 'items') coin2_meta = int(CoinList[4].replace("2000#", "")) coin2 = int(poco("0002").child("label_get").get_text()) self.assertEqual(coin2, coin2_meta, caseList[48])
def test_A35(self): u"""测试第一个金币堆的金币数显示是否与meta一致""" CoinList = GetMeta('shop.xml', 'items') coin1_meta = int(CoinList[3].replace("2000#", "")) coin1 = int(poco("0001").child("label_get").get_text()) self.assertEqual(coin1, coin1_meta, caseList[47])