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
65afba06
Commit
65afba06
authored
Jun 04, 2024
by
liguangyu06
Browse files
用例优化
parent
18e546b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_special_version/植入产品线新增验证.air/植入产品线新增验证.py
View file @
65afba06
...
...
@@ -51,7 +51,7 @@ result = requests.post(url, json=request_body, headers=headers)
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
result
=
json
.
loads
(
result
.
content
)
if
result
[
"success"
]:
if
result
[
"
data"
][
"
success"
]:
# 将接口响应时间添加至result
result
[
"api_time"
]
=
api_time
# 获取预期结果
...
...
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