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
053cc74d
Commit
053cc74d
authored
Jun 04, 2024
by
liguangyu06
Browse files
用例优化
parent
65afba06
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_special_version/植入产品线修改功能验证.air/植入产品线修改功能验证.py
View file @
053cc74d
...
...
@@ -14,8 +14,8 @@ import json
module
=
"cmdc_special_version"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username_
do_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password_
do_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username_
admin2
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password_
admin2
"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
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