|
@@ -11,7 +11,7 @@ class c5:
|
|
|
STEP(1,'第一步调用函数') #会出现在测试报告中
|
|
|
r = apimgr.nologin_Tender_search()
|
|
|
response_data = json.loads(r.text)
|
|
|
- error_code = response_data["error_code"]
|
|
|
+ lendata = len(response_data)
|
|
|
STEP(2, '第二步设置检查点')
|
|
|
# 设置检查点
|
|
|
- CHECK_POINT('检查不登录招标搜索列表,超前项目搜索,是否正常', error_code == 0)
|
|
|
+ CHECK_POINT('检查不登录招标搜索列表,超前项目搜索,是否正常', lendata > 0)
|