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
bf29c650
Commit
bf29c650
authored
Mar 29, 2024
by
liguangyu06
Browse files
优化
parent
311bee21
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_demand_mall/验证订单是否已支付.air/验证订单是否已支付.py
View file @
bf29c650
...
...
@@ -34,7 +34,7 @@ random_demand = random.randint(0, len(result["data"]["list"]) - 1)
# 获取需求单信息
demand_parent_code
=
result
[
"data"
][
"list"
][
random_demand
][
"demandParentCode"
]
proof_sign
=
result
[
"data"
][
"list"
][
random_demand
][
"proofSign"
]
print
(
proof_sign
)
# 第三步在需求单列表进行需求单查询操作
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url36"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload36"
,
demand_parent_code
)
...
...
@@ -61,6 +61,6 @@ if proof_sign:
else
:
# 获取预期结果
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict36_1"
)
#
print(check_dict)
print
(
check_dict
)
# 断言实际结果中是否包含预期结果的内容
commonFuc
().
check_result
(
check_dict
,
result
)
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