From 0f20f91e73ec968057c7920d071090e626073bc2 Mon Sep 17 00:00:00 2001 From: xiao-hesheng Date: Wed, 13 Mar 2024 08:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=87=87=E8=B4=AD=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=A8=A1=E5=9D=97=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...227\240\344\270\255\345\277\203\345\272\223.py" | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git "a/air_case/b2_herp3_bs/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.air/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.py" "b/air_case/b2_herp3_bs/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.air/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.py" index 03fe020d..8a5b5203 100644 --- "a/air_case/b2_herp3_bs/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.air/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.py" +++ "b/air_case/b2_herp3_bs/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.air/e7_\344\270\200\351\224\256\345\257\274\345\205\245\344\272\247\345\223\201_\346\227\240\344\270\255\345\277\203\345\272\223.py" @@ -49,7 +49,15 @@ def branch_goods_add(): result = commonFuc().http_post(url,request_body,headers) print('result', result) # #断言 - # total=commonFuc().analysis_json('total',commonFuc().analysis_json('data',result)) - checkDict=commonFuc().get_business_data(module,'checkDict14') - commonFuc().check_result(checkDict,result) + # # total=commonFuc().analysis_json('total',commonFuc().analysis_json('data',result)) + # checkDict=commonFuc().get_business_data(module,'checkDict14') + # commonFuc().check_result(checkDict,result) + code = commonFuc().analysis_json('code', result) + data = commonFuc().analysis_json('data', result) + if code == 1100000 and data == None: + # checkDict=commonFuc().get_business_data(module,'checkDict7') + # commonFuc().check_result(checkDict,result) + commonFuc().check_text_exist(0, result) + else: + commonFuc().check_text_exist('error', result) branch_goods_add() -- GitLab