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-cmdc
Commits
68742fef
Commit
68742fef
authored
Mar 07, 2024
by
liguangyu06
Browse files
用例新增:优化
parent
99ec4d96
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_31st/查询条件验证_补货设置.air/查询条件验证_补货设置.py
View file @
68742fef
...
...
@@ -37,7 +37,7 @@ request_body = commonFuc().get_business_data(module, "payload15")
# 发送请求
result
=
requests
.
post
(
url
,
json
=
request_body
,
headers
=
headers
)
result
=
json
.
loads
(
result
.
content
)
print
(
result
)
# 生成随机数
set_random
=
random
.
randint
(
0
,
len
(
result
[
"data"
][
"list"
])
-
1
)
# 获取补货设置信息
...
...
air_case/cmdc_trade/获取退货记录详情.air/获取退货记录详情.py
View file @
68742fef
...
...
@@ -10,7 +10,6 @@ from common.common_func import commonFuc
from
air_case.cmdc_login.多采商城登录.多采商城登录
import
CmdcMaiiLogin
import
random
import
requests
import
datetime
import
json
module
=
"cmdc_trade"
...
...
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