예제 #1
0
    def test_1508_AddScore_AD_ZiJia(self):
        result = True
        for i in range(0, 5):
            sao = t_base.ScoreAddObj(client_ip = self.client_ip, trade_type = 1, uid = self.uid, order_id = '0', app_id = self.app_id, currency = 1500, pack_name = 'com.happy.lock.wifi',
                                action_type = 0, ad_name = '做测试用的', time_stamp = 120, device_id = self.device_id, os_type_id = 2)
            result = result and self.baseService.client.addScore(sao)

        self.assertTrue(result)
예제 #2
0
 def test_1012_AddScore_AD(self):
     sao = t_base.ScoreAddObj(client_ip=self.client_ip,
                              trade_type=0,
                              uid=self.uid,
                              order_id='0',
                              app_id=self.app_id,
                              currency=1500,
                              pack_name='com.happy.lock.wifi',
                              action_type=0,
                              ad_name='做测试用的',
                              time_stamp=120,
                              device_id=self.device_id)
     result = self.baseService.client.addScore(sao)
     self.assertTrue(result)