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

优化脚本

parent de23c115
...@@ -194,7 +194,7 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16 ...@@ -194,7 +194,7 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
# 断言 # 断言
code = commonFuc().analysis_json('code', result) code = commonFuc().analysis_json('code', result)
data = commonFuc().analysis_json('data', result) data = commonFuc().analysis_json('data', result)
if code == 0 and data >= 2: if code == 0 and data == 4:
commonFuc().check_text_exist(0, result) commonFuc().check_text_exist(0, result)
else: else:
commonFuc().check_text_exist('error', result) commonFuc().check_text_exist('error', result)
......
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