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
dc7ad43c
Commit
dc7ad43c
authored
Dec 01, 2023
by
liguangyu06
Browse files
用例优化
parent
bb1f28b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_fresenius_group/套包更新_套包内商品需满足同一产品线.air/套包更新_套包内商品需满足同一产品线.py
View file @
dc7ad43c
...
@@ -51,7 +51,7 @@ request_body = group_json
...
@@ -51,7 +51,7 @@ request_body = group_json
# 发送请求
# 发送请求
result
=
requests
.
post
(
url
,
json
=
request_body
,
headers
=
headers
)
result
=
requests
.
post
(
url
,
json
=
request_body
,
headers
=
headers
)
result
=
json
.
loads
(
result
.
content
)
result
=
json
.
loads
(
result
.
content
)
# print(result)
# 获取预期结果
# 获取预期结果
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict16"
)
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict16"
)
# 断言实际结果中是否包含预期结果的内容
# 断言实际结果中是否包含预期结果的内容
...
...
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