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
5da7332a
Commit
5da7332a
authored
Apr 19, 2024
by
liguangyu06
Browse files
优化
parent
70ffb104
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_33st/采购计划删除功能验证.air/采购计划删除功能验证.py
View file @
5da7332a
...
...
@@ -48,9 +48,9 @@ request_body = commonFuc().get_business_data(module, "payload31", id)
result
=
requests
.
get
(
url
,
params
=
request_body
,
headers
=
headers
)
result
=
json
.
loads
(
result
.
content
)
# 获取接口响应时间
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
#
api_time = float(result.elapsed.total_seconds())
# 将接口响应时间添加至result
result
[
"api_time"
]
=
api_time
#
result["api_time"] = api_time
if
result
[
"success"
]:
# 判断采购计划商品是否已被删除
# 数据库操作
...
...
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