from hytest import * from lib.webapi import apimgr class c1: name = "app招标采购搜索数据导出" def teststeps(self): INFO("测试步骤") STEP(1,"第一步调用函数") res = apimgr.app_searchExport() r = res.json() actural = r['_id'] STEP(2,"第二步设置检查点") CHECK_POINT("检查_id有返回值,不为空",actural != "")