Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
11 months ago
by
liguangyu06
Browse files
Options
Download
Email Patches
Plain Diff
用例优化
parent
053cc74d
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
air_case/cmdc_special_version/植入上报附件下载功能验证.air/植入上报附件下载功能验证.py
+1
-0
...ase/cmdc_special_version/植入上报附件下载功能验证.air/植入上报附件下载功能验证.py
with
1 addition
and
0 deletions
+1
-0
air_case/cmdc_special_version/植入上报附件下载功能验证.air/植入上报附件下载功能验证.py
+
1
-
0
View file @
b99655b2
...
@@ -43,6 +43,7 @@ result = json.loads(result.content)
...
@@ -43,6 +43,7 @@ result = json.loads(result.content)
# print(result)
# print(result)
# 生成随机数
# 生成随机数
report_random
=
random
.
randint
(
0
,
len
(
result
[
"data"
][
"list"
])
-
1
)
report_random
=
random
.
randint
(
0
,
len
(
result
[
"data"
][
"list"
])
-
1
)
report_random
=
0
# 获取上报植入信息
# 获取上报植入信息
reportId
=
result
[
"data"
][
"list"
][
report_random
][
"reportId"
]
reportId
=
result
[
"data"
][
"list"
][
report_random
][
"reportId"
]
batchNumber
=
result
[
"data"
][
"list"
][
report_random
][
"batchNumber"
]
batchNumber
=
result
[
"data"
][
"list"
][
report_random
][
"batchNumber"
]
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets