test_integration_Calculate_LevelDetails.py
565 Bytes
import unittest
from atdd.PcApiTest import PcApiTest
# 积分计算等级详情
class Geileveldetail(PcApiTest):
def setUp(self):
self.do_login(self.host, self.mobile, self.psw, self.domain)
# 无参数>>默认计算等级数据
def test_detail_all(self):
interfaceUrl = "/Integral/Apicp/Level/Detail"
data = {
}
result = self.PcApiTest(interfaceUrl, data)
print(self.host + "/" + self.domain + interfaceUrl)
print(result)
return result
if __name__ == '__main__':
unittest.main()