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
6cd3b880
Commit
6cd3b880
authored
Mar 13, 2024
by
xiao-hesheng
Browse files
优化脚本
parent
e7742d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/r_b8库房管理_库区设置_同步库房信息.air/r_b8库房管理_库区设置_同步库房信息.py
View file @
6cd3b880
...
@@ -78,11 +78,12 @@ def test1():
...
@@ -78,11 +78,12 @@ def test1():
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
data
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
data
)
pageSize
=
commonFuc
().
analysis_json
(
'pageSize'
,
data
)
#
pageSize = commonFuc().analysis_json('pageSize', data)
print
(
pageSize
,
type
(
pageSize
))
#
print(pageSize, type(pageSize))
if
code
==
0
and
data
==
1
:
if
code
==
0
and
data
==
1
:
commonFuc
().
check_text_exist
(
0
,
result
)
commonFuc
().
check_text_exist
(
0
,
result
)
else
:
else
:
print
(
'error'
,
data
)
commonFuc
().
check_text_exist
(
'error'
,
result
)
commonFuc
().
check_text_exist
(
'error'
,
result
)
import
time
import
time
...
...
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