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
d515a1a6
Commit
d515a1a6
authored
May 23, 2024
by
xiao-hesheng
Browse files
流程十脚本编写
parent
b7ff7c84
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/a1_医院信息登记.air/a1_医院信息登记.py
View file @
d515a1a6
# -*- encoding=utf8 -*-
from
common.db.sql.sql_del_branch_info
import
delData
__author__
=
"xiaohesheng"
...
...
@@ -41,4 +42,7 @@ def h_Register():
#断言
checkDict
=
commonFuc
().
get_business_data
(
module
,
'checkDict'
)
commonFuc
().
check_result
(
checkDict
,
result
)
#脚本运行前删删除上次的院区数据
delData
().
Delete_business_Data
()
delData
().
Del_reporter_data
()
h_Register
()
runner.py
View file @
d515a1a6
...
...
@@ -13,8 +13,7 @@ sys.path.append(rootPath)
if
__name__
==
'__main__'
:
delData
().
Delete_business_Data
()
delData
().
Del_reporter_data
()
# 第一个参数 case 执行类型,'all', 'sc', 'tag'
caseType
=
sys
.
argv
[
1
]
# 第2个参数要执行
...
...
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