1234567891011121314 |
- from hytest import *
- from lib.webapi import apimgr
- class c1:
- name = "设置登录保持期"
- def teststeps(self):
- INFO("测试步骤")
- STEP(1, '第一步调用函数')
- res=apimgr.set_keeplogin()
- r = res.json()
- actural = r["flag"]
- STEP(2, '第二步设置检查点')
- # 设置检查点
- CHECK_POINT('检查设置登录保持期接口是否正常', actural == True)
|