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
d067bf09
Commit
d067bf09
authored
Dec 15, 2023
by
liguangyu06
Browse files
用例优化
parent
bd40d9ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_demand_mall/模糊查询生产厂家列表接口验证.air/模糊查询生产厂家列表接口验证.py
View file @
d067bf09
...
...
@@ -36,7 +36,7 @@ request_body = commonFuc().get_business_data(module, "payload7", manufacturer)
# 发送请求
result
=
requests
.
post
(
url
,
json
=
request_body
,
headers
=
headers
)
result
=
json
.
loads
(
result
.
content
)
#
print(result)
print
(
result
)
# 获取查询结果中厂家信息
result
=
{
"data"
:
result
[
"data"
][
0
][
0
]}
# 获取预期结果
...
...
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