Commit 411fb4eb by linguangwei

区分测试结果来发送钉钉

parent 335668d8
...@@ -41,7 +41,7 @@ def alert(): ...@@ -41,7 +41,7 @@ def alert():
headers = { headers = {
'content-type': "application/json" 'content-type': "application/json"
} }
if result['skipped'] + result['passed'] != result['total']:
response = requests.request("POST", url, data=json_str, headers=headers, params=querystring) response = requests.request("POST", url, data=json_str, headers=headers, params=querystring)
print(response) print(response)
......
Markdown is supported
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