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-spd
Commits
f9d151e0
Commit
f9d151e0
authored
Mar 11, 2024
by
xiao-hesheng
Browse files
新增采购计划模块脚本
parent
44cd809b
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b3_herp3_purchase/a_b0_手工采购计划_低值产品_提交.air/a_b0_手工采购计划_低值产品_提交.py
View file @
f9d151e0
...
...
@@ -63,13 +63,6 @@ def test1():
print
(
'headers'
,
headers
)
# # 请求体
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload12"
,
pid
,
id1
)
# print('request_body', request_body)
# new_request_body = request_body.replace("'", '"')
# new_request_body = new_request_body.replace("None", 'null')
# # print(new_request_body)
# import json
# request_body_json = json.loads(new_request_body)
# print('request_body_json', request_body_json)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'resultbbbbbbbbbbbbbbbbbbbb'
,
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