Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
c4b6d43d
Commit
c4b6d43d
authored
Feb 23, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
7f9690e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/g2_1
_
根据结算类型查询产品信息_中心库入库结算/g2_1
_
根据结算类型查询产品信息_中心库入库结算.py
→
air_case/b2_herp3_bs/g2_1根据结算类型查询产品信息_中心库入库结算
.air
/g2_1根据结算类型查询产品信息_中心库入库结算.py
View file @
c4b6d43d
...
@@ -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,g2_1
_
根据结算类型查询产品信息_中心库入库结算,id2263,id2263-62,sit,on
case_tag:api,herp-web,g2_1
1
根据结算类型查询产品信息_中心库入库结算,id2263,id2263-62,sit,on
内网:g2_1
_
根据结算类型查询产品信息_中心库入库结算
内网:g2_1
1
根据结算类型查询产品信息_中心库入库结算
"""
"""
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
():
"""
"""
场景:g2_1
_
根据结算类型查询产品信息_中心库入库结算
场景:g2_1
1
根据结算类型查询产品信息_中心库入库结算
用例名称:g2_1
_
根据结算类型查询产品信息_中心库入库结算
用例名称:g2_1
1
根据结算类型查询产品信息_中心库入库结算
输入:无
输入:无
输出:"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)
#g2_1
_
根据结算类型查询产品信息_中心库入库结算
#g2_1
1
根据结算类型查询产品信息_中心库入库结算
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"supplyProvHosGoods_url"
)
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"supplyProvHosGoods_url"
)
# 获取请求头信息
# 获取请求头信息
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment