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
b5849204
Commit
b5849204
authored
Jul 04, 2024
by
xiao-hesheng
Browse files
增加数据库检查模块脚本
parent
559bc69c
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
b5849204
...
@@ -806,6 +806,9 @@ def get_udi(type=1): # 退货出库扫条码
...
@@ -806,6 +806,9 @@ def get_udi(type=1): # 退货出库扫条码
print
(
'request_body'
,
request_body
)
print
(
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
1001
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
# # 将条码信息写入文件
# # 将条码信息写入文件
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
list_a
=
[]
list_a
=
[]
...
...
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