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
03dd0399
Commit
03dd0399
authored
Jan 26, 2024
by
liguangyu06
Browse files
调整环境
parent
a702f8db
Changes
9
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_31st/子需求单导出_补货单列表.air/子需求单导出_补货单列表.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc子需求单导出_补货单列表,31,31-22,sit,b
e
case_tag:cmdc_api,cmdc子需求单导出_补货单列表,31,31-22,sit,b
s
主数据平台:后台运营系统子需求单导出接口
"""
...
...
@@ -17,8 +17,8 @@ import os
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/查询条件验证_获取补货单列表.air/查询条件验证_获取补货单列表.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc查询条件验证_获取补货单列表,31,31-20,sit,b
e
case_tag:cmdc_api,cmdc查询条件验证_获取补货单列表,31,31-20,sit,b
s
主数据平台:后台运营系统获取补货单列表接口
"""
...
...
@@ -16,8 +16,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/获取子需求单列表_补货单列表.air/获取子需求单列表_补货单列表.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc获取子需求单列表_补货单列表,31,31-18,sit,b
e
case_tag:cmdc_api,cmdc获取子需求单列表_补货单列表,31,31-18,sit,b
s
主数据平台:后台运营系统获取子需求单列表_补货单列表接口
"""
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/获取补货单列表.air/获取补货单列表.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc获取补货单列表,31,31-17,sit,b
e
case_tag:cmdc_api,cmdc获取补货单列表,31,31-17,sit,b
s
主数据平台:后台运营系统获取补货单列表接口
"""
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/获取补货单设置信息.air/获取补货单设置信息.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc获取补货单设置信息,31,31-16,sit,b
e
case_tag:cmdc_api,cmdc获取补货单设置信息,31,31-16,sit,b
s
主数据平台:后台运营系统获取补货单设置信息接口
"""
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/获取补货单详情信息.air/获取补货单详情信息.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc获取补货单详情信息,31,31-19,sit,b
e
case_tag:cmdc_api,cmdc获取补货单详情信息,31,31-19,sit,b
s
主数据平台:后台运营系统获取补货单详情信息接口
"""
...
...
@@ -16,8 +16,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/补货单导出验证.air/补货单导出验证.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc补货单导出验证,31,31-20,sit,b
e
case_tag:cmdc_api,cmdc补货单导出验证,31,31-20,sit,b
s
主数据平台:后台运营系统补货单导出接口
"""
...
...
@@ -18,8 +18,8 @@ import os
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/补货设置信息导出.air/补货设置信息导出.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc补货设置信息导出验证,31,31-23,sit,b
e
case_tag:cmdc_api,cmdc补货设置信息导出验证,31,31-23,sit,b
s
主数据平台:后台运营系统补货设置信息导出接口
"""
...
...
@@ -18,8 +18,8 @@ import os
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/资料上传接口验证_申请变更.air/资料上传接口验证_申请变更.py
View file @
03dd0399
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc资料上传接口验证_申请变更,31,31-4,sit,b
e
case_tag:cmdc_api,cmdc资料上传接口验证_申请变更,31,31-4,sit,b
s
主数据平台:后台运营系统资料上传接口接口
"""
...
...
@@ -16,8 +16,8 @@ import os
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username1
_be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1
_be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username1"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers_file"
,
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