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
cd7cbee4
Commit
cd7cbee4
authored
Dec 08, 2023
by
liguangyu06
Browse files
用例优化
parent
a3e07a31
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_order_handle/物料编码模糊查询验证_结算页面.air/物料编码模糊查询验证_结算页面.py
View file @
cd7cbee4
...
...
@@ -23,7 +23,7 @@ cmdc_access_token = CmdcMaiiLogin(username, password).get_token()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers1"
,
cmdc_access_token
)
# 生成随机数据
random_code
=
random
.
randint
(
0
,
10
)
random_code
=
random
.
randint
(
0
,
9
)
# 第二步进行物料编码模糊匹配查询
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url12"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload12"
,
random_code
)
...
...
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