12345678910111213141516 |
- from hytest import *
- from lib.wxapi import apimgr
- class c1:
- #测试用例名称
- name='情报列表/搜索-商机管理'
- #测试步骤
- def teststeps(self):
- INFO('测试步骤')
- STEP(1, '第一步调用函数')
- res = apimgr.information_subscription()
- r = res.json()
- INFO(r)
- actural = r['data']['total']
- STEP(2, '第二步设置检查点')
- # 设置检查点
- CHECK_POINT('检查情报列表/搜索-订阅接口是否正常', actural >= 0)
|