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
b99655b2
Commit
b99655b2
authored
Jun 04, 2024
by
liguangyu06
Browse files
用例优化
parent
053cc74d
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_special_version/植入上报附件下载功能验证.air/植入上报附件下载功能验证.py
View file @
b99655b2
...
...
@@ -43,6 +43,7 @@ result = json.loads(result.content)
# print(result)
# 生成随机数
report_random
=
random
.
randint
(
0
,
len
(
result
[
"data"
][
"list"
])
-
1
)
report_random
=
0
# 获取上报植入信息
reportId
=
result
[
"data"
][
"list"
][
report_random
][
"reportId"
]
batchNumber
=
result
[
"data"
][
"list"
][
report_random
][
"batchNumber"
]
...
...
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