“蒋伟” 9 месяцев назад
Родитель
Сommit
38777f0f24
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      DingDing.py

+ 2 - 2
DingDing.py

@@ -67,7 +67,7 @@ def DingTalkSend(info):
 
     url = 'https://oapi.dingtalk.com/robot/send?access_token=f8566d2ed0feb8dc3bf2856df161241a8cf5a4c76af3d903abcabfdebebdff0e'  # webhook
     text = (
-                   f"<font color=\'#FFA500\'>[通知] </font>青春重庆-{info}测试报告"
+                   f"<font color=\'#FFA500\'>[通知] </font>青春重庆-{info}报告"
                    "\n\n用例运行总数: " + retries_run +
                    # "\n\n用例未执行数: " + status_defects +
                    "\n\n用例通过数量: " + status_passed +
@@ -83,4 +83,4 @@ def DingTalkSend(info):
 
 
 if __name__ == '__main__':
-    DingTalkSend("生产")
+    DingTalkSend("生产APP巡检")