提交 6ca7e1f30b2497e8b999130de8bd08875edd6059

作者 Shishutong
1 个父辈 5db31bb2

版本:1.0.5

1.新增发送钉钉
正在显示 2 个修改的文件 包含 25 行增加29 行删除
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="4"> 2 <project version="4">
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 - <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="版本:1.0.4&#10;1.新增实践课程用例&#10;2。新增学生相关的用例">  
5 - <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />  
6 - <change beforePath="$PROJECT_DIR$/conf/config.ini" beforeDir="false" afterPath="$PROJECT_DIR$/conf/config.ini" afterDir="false" />  
7 - <change beforePath="$PROJECT_DIR$/data/system/test_02_department.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_department.xlsx" afterDir="false" />  
8 - <change beforePath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" afterDir="false" />  
9 - <change beforePath="$PROJECT_DIR$/data/system/test_02_term.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_term.xlsx" afterDir="false" />  
10 - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_class.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_class.xlsx" afterDir="false" />  
11 - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_course.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_course.xlsx" afterDir="false" />  
12 - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_student.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_student.xlsx" afterDir="false" />  
13 - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_teacher.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_teacher.xlsx" afterDir="false" />  
14 - <change beforePath="$PROJECT_DIR$/data/test_01_login.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/test_01_login.xlsx" afterDir="false" />  
15 - <change beforePath="$PROJECT_DIR$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" />  
16 - <change beforePath="$PROJECT_DIR$/report/report.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report.html" afterDir="false" /> 4 + <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="版本:1.0.5&#10;1.新增发送钉钉功能">
17 <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" /> 5 <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" />
18 - <change beforePath="$PROJECT_DIR$/testcase/test_03_teaching_affairs.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_03_teaching_affairs.py" afterDir="false" />  
19 </list> 6 </list>
20 <option name="SHOW_DIALOG" value="false" /> 7 <option name="SHOW_DIALOG" value="false" />
21 <option name="HIGHLIGHT_CONFLICTS" value="true" /> 8 <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -192,7 +179,7 @@ @@ -192,7 +179,7 @@
192 <workItem from="1671858161931" duration="14040000" /> 179 <workItem from="1671858161931" duration="14040000" />
193 <workItem from="1672107155517" duration="12595000" /> 180 <workItem from="1672107155517" duration="12595000" />
194 <workItem from="1672129396493" duration="4038000" /> 181 <workItem from="1672129396493" duration="4038000" />
195 - <workItem from="1672191767788" duration="12845000" /> 182 + <workItem from="1672191767788" duration="13196000" />
196 </task> 183 </task>
197 <task id="LOCAL-00001" summary="1.0.0&#10;首次提交"> 184 <task id="LOCAL-00001" summary="1.0.0&#10;首次提交">
198 <created>1671544396986</created> 185 <created>1671544396986</created>
@@ -236,7 +223,14 @@ @@ -236,7 +223,14 @@
236 <option name="project" value="LOCAL" /> 223 <option name="project" value="LOCAL" />
237 <updated>1672126325525</updated> 224 <updated>1672126325525</updated>
238 </task> 225 </task>
239 - <option name="localTasksCounter" value="7" /> 226 + <task id="LOCAL-00007" summary="版本:1.0.5&#10;1.新增发送钉钉功能">
  227 + <created>1672217478438</created>
  228 + <option name="number" value="00007" />
  229 + <option name="presentableId" value="LOCAL-00007" />
  230 + <option name="project" value="LOCAL" />
  231 + <updated>1672217478438</updated>
  232 + </task>
  233 + <option name="localTasksCounter" value="8" />
240 <servers /> 234 <servers />
241 </component> 235 </component>
242 <component name="TypeScriptGeneratedFilesManager"> 236 <component name="TypeScriptGeneratedFilesManager">
@@ -273,7 +267,8 @@ @@ -273,7 +267,8 @@
273 <MESSAGE value="1.0.2&#10;1.新增的专业与新增的院系id做关联&#10;2。新增教师用例&#10;3。已知bug优化" /> 267 <MESSAGE value="1.0.2&#10;1.新增的专业与新增的院系id做关联&#10;2。新增教师用例&#10;3。已知bug优化" />
274 <MESSAGE value="版本:1.0.3&#10;1.新增班级逻辑判断&#10;2.新增实践课程逻辑判断&#10;3.补充Excel-班级&#10;4.补充Excel-实践课程&#10;4.补充Excel-教师" /> 268 <MESSAGE value="版本:1.0.3&#10;1.新增班级逻辑判断&#10;2.新增实践课程逻辑判断&#10;3.补充Excel-班级&#10;4.补充Excel-实践课程&#10;4.补充Excel-教师" />
275 <MESSAGE value="版本:1.0.4&#10;1.新增实践课程用例&#10;2。新增学生相关的用例" /> 269 <MESSAGE value="版本:1.0.4&#10;1.新增实践课程用例&#10;2。新增学生相关的用例" />
276 - <option name="LAST_COMMIT_MESSAGE" value="版本:1.0.4&#10;1.新增实践课程用例&#10;2。新增学生相关的用例" /> 270 + <MESSAGE value="版本:1.0.5&#10;1.新增发送钉钉功能" />
  271 + <option name="LAST_COMMIT_MESSAGE" value="版本:1.0.5&#10;1.新增发送钉钉功能" />
277 </component> 272 </component>
278 <component name="XDebuggerManager"> 273 <component name="XDebuggerManager">
279 <breakpoint-manager> 274 <breakpoint-manager>
@@ -31,8 +31,9 @@ runner = TestRunner(suite=suite, @@ -31,8 +31,9 @@ runner = TestRunner(suite=suite,
31 # 执行失败重新运行机制 31 # 执行失败重新运行机制
32 runner.rerun_run(count=2, interval=0.2) 32 runner.rerun_run(count=2, interval=0.2)
33 33
34 -# 发送钉钉  
35 - 34 +"""
  35 +发送钉钉
  36 +"""
36 # Webhook = "https://oapi.dingtalk.com/robot/send?access_token=cb3e40995683f06c5be06074e0cf617f2ea208156e3b4bf6247b56a212b8b7c3" 37 # Webhook = "https://oapi.dingtalk.com/robot/send?access_token=cb3e40995683f06c5be06074e0cf617f2ea208156e3b4bf6247b56a212b8b7c3"
37 # # Webhook = "https://oapi.dingtalk.com/robot/send?access_token=054f620071c74d94c10ad556743aa5ff0600a2953bbce5529ca057f75ad2423e" # 优秀学乐业钉钉群 38 # # Webhook = "https://oapi.dingtalk.com/robot/send?access_token=054f620071c74d94c10ad556743aa5ff0600a2953bbce5529ca057f75ad2423e" # 优秀学乐业钉钉群
38 # runner.dingtalk_notice(url=Webhook, 39 # runner.dingtalk_notice(url=Webhook,
@@ -41,13 +42,13 @@ runner.rerun_run(count=2, interval=0.2) @@ -41,13 +42,13 @@ runner.rerun_run(count=2, interval=0.2)
41 # isatall=False, # 是否@所有人,默认为False,设为True则会@所有人 42 # isatall=False, # 是否@所有人,默认为False,设为True则会@所有人
42 # except_info=True # 是否发送未通过用例的详细信息,默认为False 43 # except_info=True # 是否发送未通过用例的详细信息,默认为False
43 # ) 44 # )
44 -  
45 -# 发送邮件  
46 -  
47 -runner.send_email(host="smtp.qq.com",  
48 - port=465,  
49 - user="shishut@foxmail.com",  
50 - password="uwgmbvzjfscqbeeh",  
51 - to_addrs=["shishut@workai.com.cn"]  
52 - # to_addrs=["shishut@workai.com.cn", "wangf@workai.com.cn"]  
53 - ) 45 +"""
  46 +发送邮件
  47 +"""
  48 +# runner.send_email(host="smtp.qq.com",
  49 +# port=465,
  50 +# user="shishut@foxmail.com",
  51 +# password="uwgmbvzjfscqbeeh",
  52 +# to_addrs=["shishut@workai.com.cn"]
  53 +# # to_addrs=["shishut@workai.com.cn", "wangf@workai.com.cn"]
  54 +# )
注册登录 后发表评论