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
63eac0aa
Commit
63eac0aa
authored
May 13, 2024
by
liguangyu06
Browse files
优化
parent
cc995f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_demand_mall/需求单销售合同下载功能验证.air/需求单销售合同下载功能验证.py
View file @
63eac0aa
...
@@ -36,9 +36,9 @@ result = json.loads(result.content)
...
@@ -36,9 +36,9 @@ result = json.loads(result.content)
random_demand
=
random
.
randint
(
0
,
len
(
result
[
"data"
][
"list"
])
-
1
)
random_demand
=
random
.
randint
(
0
,
len
(
result
[
"data"
][
"list"
])
-
1
)
# 获取需求单信息
# 获取需求单信息
demand_id
=
result
[
"data"
][
"list"
][
random_demand
][
"demandId"
]
demand_id
=
result
[
"data"
][
"list"
][
random_demand
][
"demandId"
]
#
demand_id = "
3797
4"
demand_id
=
"
4062
4"
demand_code
=
result
[
"data"
][
"list"
][
random_demand
][
"demandCode"
]
demand_code
=
result
[
"data"
][
"list"
][
random_demand
][
"demandCode"
]
# 16934694037805759
demand_code
=
17031997550697816
# 第三步进行需求单销售合同下载
# 第三步进行需求单销售合同下载
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url22"
)
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url22"
)
...
...
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