Commit 619bb758 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

优化脚本

parent 0629ad3a
......@@ -58,7 +58,11 @@ def test1():
pro_path = commonFuc().get_pro_path()
sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\r_b8库房管理_库区设置_同步库房信息.air')
using(pro_path + r'\\air_case\\b2_herp3_bs\\r_b8库房管理_库区设置_同步库房信息.air')
from r_b8库房管理_库区设置_同步库房信息 import test1
try:
from r_b8库房管理_库区设置_同步库房信息 import test1
except Exception as e:
print("r_b8库房管理_库区设置_同步库房信息发生异常:", str(e))
# test1()
#查询库房id
pro_path = commonFuc().get_pro_path()
......
......@@ -73,7 +73,7 @@ def test1():
# request_body_json = json.loads(new_request_body)
# # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('resultaaaaaaaaaaaaaaaaaaaaaaaaaaa', result)
print('result','r_b8库房管理_库区设置_同步库房信息', result)
# 断言
code = commonFuc().analysis_json('code', result)
data = commonFuc().analysis_json('data', result)
......
......@@ -74,7 +74,7 @@
<tr width="600">
<td class="details-col-elapsed"><a href='../log/r_b8库房管理_库区设置_同步库房信息/log.html' target='_blank'>r_b8库房管理_库区设置_同步库房信息</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.947</td>
<td class="details-col-elapsed">2.219</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
......
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