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
999ecc93
Commit
999ecc93
authored
May 07, 2024
by
liguangyu06
Browse files
优化
parent
855f2aeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_fresenius_group/验证套包商品详情是否显示套包信息.air/验证套包商品详情是否显示套包信息.py
View file @
999ecc93
...
...
@@ -54,11 +54,11 @@ for i in result["data"]:
# 商品可能存在于多个套包,循环找到对应的套包验证
if
i
[
"groupCode1"
]
==
group_code
:
# 获取商品对应的groupCode
result
=
{
"groupCode"
:
i
[
"subList"
][
"group
Code
"
]}
result
=
{
"groupCode"
:
i
[
"subList"
][
0
][
"group
Id
"
]}
result
[
"api_time"
]
=
api_time
# 获取预期结果
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict25"
,
group
_code
)
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict25"
,
i
[
"
group
Id"
]
)
# 断言实际结果中是否包含预期结果的内容
commonFuc
().
check_result
(
check_dict
,
result
)
break
\ No newline at end of file
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