test_Integration_level_query.py
644 Bytes
# -*- coding: utf-8 -*-
__author__ = 'pooja'
import unittest
from atdd.PcApiTest import PcApiTest
# 管理后台登录企业号接口
class Integrationlevelquery(PcApiTest):
def setUp(self):
self.do_login(self.host, self.mobile, self.psw, self.domain)
# 积分等级查询接口[无需传参]
def test_Integration_level_query(self):
interfaceUrl = "/Integral/Apicp/Level/GetSetting"
data = {
}
result = self.PcApiTest(interfaceUrl, data)
print(self.host + "/" + self.domain + interfaceUrl)
print(result)
return result
if __name__ == "__main__":
unittest.main()