Commit d515a1a6 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十脚本编写

No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
# -*- 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()
......@@ -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个参数要执行
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment