Commit b77f4cf6 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

新增采购计划模块脚本

parent 7c7fc172
...@@ -52,13 +52,13 @@ def test1(): ...@@ -52,13 +52,13 @@ def test1():
code = commonFuc().analysis_json('code', result) code = commonFuc().analysis_json('code', result)
data = commonFuc().analysis_json('data', result) data = commonFuc().analysis_json('data', result)
total = commonFuc().analysis_json('total', data) total = commonFuc().analysis_json('total', data)
closeStatus=commonFuc().analysis_json('closeStatus', data) closeStatus = commonFuc().analysis_json('closeStatus', data)
print('closeStatus',closeStatus) print('closeStatus', closeStatus)
if code == 0 and len(data) >= 0 and total >= 0: if code == 0 and len(data) >= 0 and total >= 0:
commonFuc().check_text_exist(0, result) commonFuc().check_text_exist(0, result)
else: else:
commonFuc().check_text_exist('error', result) commonFuc().check_text_exist('error', result)
#计划状态为全部 # 计划类型为全部
# # 请求体 # # 请求体
request_body = commonFuc().get_business_data(module, "payload17_5") request_body = commonFuc().get_business_data(module, "payload17_5")
# 发送请求 # 发送请求
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment