Commit 91905e24 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent 35f93fbf
...@@ -12,8 +12,8 @@ from common.timeUtils import timeUtils ...@@ -12,8 +12,8 @@ from common.timeUtils import timeUtils
__author__ = "xiaohesheng" __author__ = "xiaohesheng"
""" """
case_tag:api,herp-web,g8_8修改产品价格_暂存,id2263,id2263-76,sit,on case_tag:api,herp-web,g2_15修改产品价格_暂存,id2263,id2263-76,sit,on
内网:g8_8修改产品价格_暂存 内网:g2_15修改产品价格_暂存
""" """
from common.common_func import commonFuc from common.common_func import commonFuc
...@@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_ ...@@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_
module = "b2_herp3_bs" module = "b2_herp3_bs"
def test1(): def test1():
""" """
场景:g8_8修改产品价格_暂存 场景:g2_15修改产品价格_暂存
用例名称:g8_8修改产品价格_暂存 用例名称:g2_15修改产品价格_暂存
输入:无 输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1} 输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
""" """
...@@ -34,7 +34,7 @@ def test1(): ...@@ -34,7 +34,7 @@ def test1():
# 获取token和projectCode # 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token() token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info) # print( token,projectCode,uxid,corpId,info)
#g8_8修改产品价格_暂存 #g2_15修改产品价格_暂存
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsChgMain_insert_url") url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsChgMain_insert_url")
# 获取请求头信息 # 获取请求头信息
......
...@@ -11,8 +11,8 @@ from common.timeUtils import timeUtils ...@@ -11,8 +11,8 @@ from common.timeUtils import timeUtils
__author__ = "xiaohesheng" __author__ = "xiaohesheng"
""" """
case_tag:api,herp-web,g8_9调价管理列表_查询_暂存状态数据,id2263,id2263-77,sit,on case_tag:api,herp-web,g2_16调价管理列表_查询_暂存状态数据,id2263,id2263-77,sit,on
内网:g8_9调价管理列表_查询_暂存状态数据 内网:g2_16调价管理列表_查询_暂存状态数据
""" """
from common.common_func import commonFuc from common.common_func import commonFuc
...@@ -20,8 +20,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_ ...@@ -20,8 +20,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_
module = "b2_herp3_bs" module = "b2_herp3_bs"
def test1(): def test1():
""" """
场景:g8_5调价管理列表_查询 场景:g2_16调价管理列表_查询_暂存状态数据
用例名称:g8_5调价管理列表_查询 用例名称:g2_16调价管理列表_查询_暂存状态数据
输入:无 输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1} 输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
""" """
...@@ -33,7 +33,7 @@ def test1(): ...@@ -33,7 +33,7 @@ def test1():
# 获取token和projectCode # 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token() token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info) # print( token,projectCode,uxid,corpId,info)
#g8_5调价管理列表_查询 #g2_16调价管理列表_查询_暂存状态数据
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "pricePage_url") url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "pricePage_url")
# 获取请求头信息 # 获取请求头信息
......
...@@ -12,8 +12,8 @@ from common.timeUtils import timeUtils ...@@ -12,8 +12,8 @@ from common.timeUtils import timeUtils
__author__ = "xiaohesheng" __author__ = "xiaohesheng"
""" """
case_tag:api,herp-web,g8_9修改产品价格_提交,id2263,id2263-78,sit,on case_tag:api,herp-web,g2_17修改产品价格_提交,id2263,id2263-78,sit,on
内网:g8_9修改产品价格_提交 内网:g2_17修改产品价格_提交
""" """
from common.common_func import commonFuc from common.common_func import commonFuc
...@@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_ ...@@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_
module = "b2_herp3_bs" module = "b2_herp3_bs"
def test1(): def test1():
""" """
场景:g8_8修改产品价格_暂存 场景:g2_17修改产品价格_提交
用例名称:g8_8修改产品价格_暂存 用例名称:g2_17修改产品价格_提交
输入:无 输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1} 输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
""" """
...@@ -34,7 +34,7 @@ def test1(): ...@@ -34,7 +34,7 @@ def test1():
# 获取token和projectCode # 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token() token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info) # print( token,projectCode,uxid,corpId,info)
#g8_8修改产品价格_暂存 #g2_17修改产品价格_提交
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsChgMain_insert_url") url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsChgMain_insert_url")
# 获取请求头信息 # 获取请求头信息
......
...@@ -12,8 +12,8 @@ from common.timeUtils import timeUtils ...@@ -12,8 +12,8 @@ from common.timeUtils import timeUtils
__author__ = "xiaohesheng" __author__ = "xiaohesheng"
""" """
case_tag:api,herp-web,g9_2审批中心_列表查询,id2263,id2263-79,sit,on case_tag:api,herp-web,g2_18审批中心_列表查询,id2263,id2263-79,sit,on
内网:g9_2审批中心_列表查询 内网:g2_18审批中心_列表查询
""" """
from common.common_func import commonFuc from common.common_func import commonFuc
...@@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_ ...@@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_
module = "b2_herp3_bs" module = "b2_herp3_bs"
def test1(): def test1():
""" """
场景:g9_2审批中心_列表查询 场景:g2_18审批中心_列表查询
用例名称:g9_2审批中心_列表查询 用例名称:g2_18审批中心_列表查询
输入:无 输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1} 输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
""" """
...@@ -34,7 +34,7 @@ def test1(): ...@@ -34,7 +34,7 @@ def test1():
# 获取token和projectCode # 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token() token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info) # print( token,projectCode,uxid,corpId,info)
#g9_2审批中心_列表查询 #g2_18审批中心_列表查询
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "apprCenter_url") url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "apprCenter_url")
# 获取请求头信息 # 获取请求头信息
......
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