Commit 97ff94a1 authored by xiao-hesheng's avatar xiao-hesheng Committed by 肖 和生
Browse files

脚本优化

parent baf814c5
...@@ -34,4 +34,4 @@ def main(): ...@@ -34,4 +34,4 @@ def main():
except: except:
commonFuc().check_text_exist_result_text('error', 'succees') commonFuc().check_text_exist_result_text('error', 'succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -178,4 +178,4 @@ def main(): ...@@ -178,4 +178,4 @@ def main():
print('=================流程二结束=================') print('=================流程二结束=================')
except: except:
print('a_a2_流程二供货关系申请提交审批,出现异常,请检查') print('a_a2_流程二供货关系申请提交审批,出现异常,请检查')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -403,4 +403,4 @@ def main(): ...@@ -403,4 +403,4 @@ def main():
delData().Del_goods_info_all() delData().Del_goods_info_all()
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
print('=================流程三结束=================') print('=================流程三结束=================')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -309,4 +309,4 @@ def main(): ...@@ -309,4 +309,4 @@ def main():
except Exception as e: except Exception as e:
commonFuc().check_text_exist_result_text('succees','error') commonFuc().check_text_exist_result_text('succees','error')
print("发生异常:", str(e)) print("发生异常:", str(e))
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -495,4 +495,4 @@ def main(): ...@@ -495,4 +495,4 @@ def main():
print("发生异常:", str(e)) print("发生异常:", str(e))
commonFuc().check_text_exist_result_text('succees','succees') commonFuc().check_text_exist_result_text('succees','succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -269,4 +269,4 @@ def main(): ...@@ -269,4 +269,4 @@ def main():
traceback.print_exc() traceback.print_exc()
else: else:
commonFuc().check_text_exist_result_text('succees','succees') commonFuc().check_text_exist_result_text('succees','succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -423,4 +423,4 @@ def main(): ...@@ -423,4 +423,4 @@ def main():
traceback.print_exc() traceback.print_exc()
else: else:
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -399,4 +399,4 @@ def main(): ...@@ -399,4 +399,4 @@ def main():
traceback.print_exc() traceback.print_exc()
else: else:
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -239,4 +239,4 @@ def main(): ...@@ -239,4 +239,4 @@ def main():
print('=================流程六结束=================') print('=================流程六结束=================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -237,4 +237,4 @@ def main(): ...@@ -237,4 +237,4 @@ def main():
print('======================流程七结束============================') print('======================流程七结束============================')
except: except:
commonFuc().check_text_exist_result_text('error', 'succees') commonFuc().check_text_exist_result_text('error', 'succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -346,4 +346,4 @@ def main(): ...@@ -346,4 +346,4 @@ def main():
print('================流程八结束===========================') print('================流程八结束===========================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -432,4 +432,4 @@ def main(): ...@@ -432,4 +432,4 @@ def main():
print('==========================流程九结束==============================') print('==========================流程九结束==============================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -334,4 +334,4 @@ def main(): ...@@ -334,4 +334,4 @@ def main():
except: except:
commonFuc().check_text_exist_result_text('error', 'succees') commonFuc().check_text_exist_result_text('error', 'succees')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -846,4 +846,4 @@ def main(): ...@@ -846,4 +846,4 @@ def main():
print('==========================流程十一结束==============================') print('==========================流程十一结束==============================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -444,4 +444,4 @@ def main(): ...@@ -444,4 +444,4 @@ def main():
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -360,4 +360,4 @@ def main(): ...@@ -360,4 +360,4 @@ def main():
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except: except:
commonFuc().check_text_exist_result_text('error ', '1') commonFuc().check_text_exist_result_text('error ', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -590,4 +590,4 @@ def main(): ...@@ -590,4 +590,4 @@ def main():
commonFuc().check_text_exist_result_text('SUCCESS', 'SUCCESS') commonFuc().check_text_exist_result_text('SUCCESS', 'SUCCESS')
except: except:
commonFuc().check_text_exist_result_text('error', 'SUCCESS') commonFuc().check_text_exist_result_text('error', 'SUCCESS')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -571,4 +571,4 @@ def main(): ...@@ -571,4 +571,4 @@ def main():
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -635,4 +635,4 @@ def main(): ...@@ -635,4 +635,4 @@ def main():
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
...@@ -371,4 +371,4 @@ def main(): ...@@ -371,4 +371,4 @@ def main():
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
main() # main()
\ No newline at end of file \ No newline at end of file
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