Commit 9c869899 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

优化脚本

parent f283f827
......@@ -26,5 +26,6 @@ def test1():
execute_command("python runner_test.py tag id2249 debug mdm3")
try:
test1()
commonFuc().check_text_exist('1', '1')
except:
commonFuc().check_text_exist('error','error')
......@@ -189,5 +189,6 @@ try:
#供应关系申请-客户类型厂商
FileUtils().w_info1(supply_and_marketing_apply2(), module, '供货关系申请2')
submitSupplyRelation_pass()
commonFuc().check_text_exist('1', '1')
except:
print('a_a2_流程二供货关系申请提交审批,出现异常,请检查')
\ No newline at end of file
......@@ -323,6 +323,7 @@ try:
add_goods4()#定向 "isSubprov": "1"
select1('message5')
apply()
commonFuc().check_text_exist('1', '1')
except:
print('新增产品信息出现异常,后续的脚本必然无法走通,需要检查程序或者脚本或者环境是否出现问题')
commonFuc().check_text_exist('产品新增失败', '产品新增成功')
......
......@@ -495,3 +495,4 @@ try:
except Exception as e:
print('审批采购计划出现错误,请检查脚本或者数据')
print("发生异常:", str(e))
commonFuc().check_text_exist('1', '1')
\ No newline at end of file
......@@ -262,3 +262,4 @@ except Exception as e:
print('订单配送发生错误,请检查脚本或者数据')
print("发生异常:", str(e))
traceback.print_exc()
commonFuc().check_text_exist('1', '1')
\ No newline at end of file
企业信息:
e_id: CR202404170078
cname: 国药集团公司6%C*D
e_id: CR202404230091
cname: 国药集团公司Ejly$
医院信息:
h_id: 湖南省人民医院jxAis
h_name: 湖南省人民医院jxAis
h_id: 湖南省人民医院2eFTZ
h_name: 湖南省人民医院2eFTZ
产品审核信息:
MSPid: MSP2404170039_1
MSPid: MSP2404230024_1
hosId: h0347
hosGoodsId: h034700002959
provGoodsid: provGood-99220064
goodsAuditBillId: MSP2404170039
targetId: MSP2404170039_1
hosGoodsId: h034700003031
provGoodsid: provGood-99220140
goodsAuditBillId: MSP2404230024
targetId: MSP2404230024_1
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