Commit 81ff9ee2 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

新增采购计划模块脚本

parent 128864c2
......@@ -4,7 +4,7 @@ from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,a_a9_采购计划_列表查询_查询全部,id2297,id2297-9,sit,on
case_tag:api,herp-web,a_a9_采购计划_列表查询_查询全部,id2297,id2297-10,sit,on
内网:a_a9_采购计划_列表查询_查询全部
"""
......
......@@ -4,8 +4,8 @@ from common.timeUtils import timeUtils
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,a_b4_手工采购计划_添加产品页面_列表查询_分页查询,id2297,id2297-14,sit,on
内网:a_b4_手工采购计划_添加产品页面_列表查询_分页查询
case_tag:api,herp-web,a_a5_手工采购计划_添加产品页面_列表查询_分页查询,id2297,id2297-5,sit,on
内网:a_a5_手工采购计划_添加产品页面_列表查询_分页查询
"""
from common.common_func import commonFuc
......@@ -62,5 +62,4 @@ def test1():
else:
commonFuc().check_text_exist('error', result)
test1()
......@@ -3,8 +3,8 @@
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,a_a6_手工采购计划_值产品_暂存,id2297,id2297-6,sit,on
内网:a_a6_手工采购计划_值产品_暂存
case_tag:api,herp-web,a_a6_手工采购计划_值产品_暂存,id2297,id2297-6,sit,on
内网:a_a6_手工采购计划_值产品_暂存
"""
from common.common_func import commonFuc
......@@ -16,8 +16,8 @@ import sys
def test1():
module = "b3_herp3_purchase"
"""
场景:a_a6_手工采购计划_值产品_暂存
用例名称:a_a6_手工采购计划_值产品_暂存
场景:a_a6_手工采购计划_值产品_暂存
用例名称:a_a6_手工采购计划_值产品_暂存
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": true}
"""
......@@ -38,7 +38,7 @@ def test1():
commonFuc().get_business_data(module, "X-APP-CODE"))
print('headers', headers)
# # 请求体
request_body = commonFuc().get_business_data(module, "payload_1")
request_body = commonFuc().get_business_data(module, "payload")
print('request_body', request_body)
new_request_body = request_body.replace("'", '"')
new_request_body = new_request_body.replace("None", 'null')
......
......@@ -3,8 +3,8 @@
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,a_a5_手工采购计划_低值产品_暂存,id2297,id2297-5,sit,on
内网:a_a5_手工采购计划_低值产品_暂存
case_tag:api,herp-web,a_a10_采购计划_列表查询_查询全部,id2297,id2297-10,sit,on
内网:a_a10_采购计划_列表查询_查询全部
"""
from common.common_func import commonFuc
......@@ -16,8 +16,8 @@ import sys
def test1():
module = "b3_herp3_purchase"
"""
场景:a1_手工采购计划_低值产品_暂存
用例名称:a1_手工采购计划_低值产品_暂存
场景:a_a10_采购计划_列表查询_查询全部
用例名称:a_a10_采购计划_列表查询_查询全部
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": true}
"""
......@@ -38,7 +38,7 @@ def test1():
commonFuc().get_business_data(module, "X-APP-CODE"))
print('headers', headers)
# # 请求体
request_body = commonFuc().get_business_data(module, "payload")
request_body = commonFuc().get_business_data(module, "payload_1")
print('request_body', request_body)
new_request_body = request_body.replace("'", '"')
new_request_body = new_request_body.replace("None", 'null')
......
......@@ -3,8 +3,8 @@
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,a_a7_手工采购计划_试剂产品_暂存,id2297,id2297-7,sit,on
内网:a_a7_手工采购计划_试剂产品_暂存
case_tag:api,herp-web,a_a8_手工采购计划_试剂产品_暂存,id2297,id2297-8,sit,on
内网:a_a8_手工采购计划_试剂产品_暂存
"""
from common.common_func import commonFuc
......@@ -16,8 +16,8 @@ import sys
def test1():
module = "b3_herp3_purchase"
"""
场景:a_a7_手工采购计划_试剂产品_暂存
用例名称:a_a7_手工采购计划_试剂产品_暂存
场景:a_a8_手工采购计划_试剂产品_暂存
用例名称:a_a8_手工采购计划_试剂产品_暂存
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": true}
"""
......
......@@ -3,8 +3,8 @@
__author__ = "xiaohesheng"
"""
case_tag:api,herp-web,a_a8_手工采购计划_混合明细产品_暂存,id2297,id2297-8,sit,on
内网:a_a8_手工采购计划_混合明细产品_暂存
case_tag:api,herp-web,a_a9_手工采购计划_混合明细产品_暂存,id2297,id2297-9,sit,on
内网:a_a9_手工采购计划_混合明细产品_暂存
"""
from common.common_func import commonFuc
......
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