正在显示
20 个修改的文件
包含
534 行增加
和
28 行删除
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project version="4"> |
3 | 3 | <component name="ChangeListManager"> |
4 | - <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.run文件调整"> | |
5 | - <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | |
4 | + <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.2"> | |
5 | + <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" /> | |
6 | + <change beforePath="$PROJECT_DIR$/tools/function.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/function.py" afterDir="false" /> | |
6 | 7 | </list> |
7 | 8 | <option name="SHOW_DIALOG" value="false" /> |
8 | 9 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
... | ... | @@ -175,9 +176,9 @@ |
175 | 176 | </list> |
176 | 177 | <recent_temporary> |
177 | 178 | <list> |
179 | + <item itemvalue="Python.run" /> | |
178 | 180 | <item itemvalue="Python tests.Unittests in test_06_internship_manage.py" /> |
179 | 181 | <item itemvalue="Python tests.Unittests in test_04_Internship_preparation.py" /> |
180 | - <item itemvalue="Python.run" /> | |
181 | 182 | <item itemvalue="Python.handle_token" /> |
182 | 183 | <item itemvalue="Python.aaa" /> |
183 | 184 | </list> |
... | ... | @@ -266,7 +267,7 @@ |
266 | 267 | <workItem from="1689816981406" duration="4617000" /> |
267 | 268 | <workItem from="1689903460923" duration="538000" /> |
268 | 269 | <workItem from="1690180441280" duration="3613000" /> |
269 | - <workItem from="1690248894302" duration="3401000" /> | |
270 | + <workItem from="1690248894302" duration="4209000" /> | |
270 | 271 | </task> |
271 | 272 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> |
272 | 273 | <created>1671544396986</created> |
... | ... | @@ -471,7 +472,35 @@ |
471 | 472 | <option name="project" value="LOCAL" /> |
472 | 473 | <updated>1690274510172</updated> |
473 | 474 | </task> |
474 | - <option name="localTasksCounter" value="30" /> | |
475 | + <task id="LOCAL-00030" summary="1.1"> | |
476 | + <created>1690274845463</created> | |
477 | + <option name="number" value="00030" /> | |
478 | + <option name="presentableId" value="LOCAL-00030" /> | |
479 | + <option name="project" value="LOCAL" /> | |
480 | + <updated>1690274845463</updated> | |
481 | + </task> | |
482 | + <task id="LOCAL-00031" summary="1.2"> | |
483 | + <created>1690274955796</created> | |
484 | + <option name="number" value="00031" /> | |
485 | + <option name="presentableId" value="LOCAL-00031" /> | |
486 | + <option name="project" value="LOCAL" /> | |
487 | + <updated>1690274955796</updated> | |
488 | + </task> | |
489 | + <task id="LOCAL-00032" summary="1.2"> | |
490 | + <created>1690274973343</created> | |
491 | + <option name="number" value="00032" /> | |
492 | + <option name="presentableId" value="LOCAL-00032" /> | |
493 | + <option name="project" value="LOCAL" /> | |
494 | + <updated>1690274973343</updated> | |
495 | + </task> | |
496 | + <task id="LOCAL-00033" summary="1.2"> | |
497 | + <created>1690274988210</created> | |
498 | + <option name="number" value="00033" /> | |
499 | + <option name="presentableId" value="LOCAL-00033" /> | |
500 | + <option name="project" value="LOCAL" /> | |
501 | + <updated>1690274988210</updated> | |
502 | + </task> | |
503 | + <option name="localTasksCounter" value="34" /> | |
475 | 504 | <servers /> |
476 | 505 | </component> |
477 | 506 | <component name="TypeScriptGeneratedFilesManager"> |
... | ... | @@ -502,7 +531,6 @@ |
502 | 531 | <option name="oldMeFiltersMigrated" value="true" /> |
503 | 532 | </component> |
504 | 533 | <component name="VcsManagerConfiguration"> |
505 | - <MESSAGE value="1.0.0 首次提交" /> | |
506 | 534 | <MESSAGE value="1.0.1 1.新增fixture.py 2.新增查看院系接口测试用例 4.新增整理Excel表格数据入参问题 3.代码优化" /> |
507 | 535 | <MESSAGE value="1.0.1 1.新增发送邮件" /> |
508 | 536 | <MESSAGE value="1.0.2 1.新增的专业与新增的院系id做关联 2。新增教师用例 3。已知bug优化" /> |
... | ... | @@ -526,7 +554,9 @@ |
526 | 554 | <MESSAGE value="1.项目维护" /> |
527 | 555 | <MESSAGE value="1.run" /> |
528 | 556 | <MESSAGE value="1.run文件调整" /> |
529 | - <option name="LAST_COMMIT_MESSAGE" value="1.run文件调整" /> | |
557 | + <MESSAGE value="1.1" /> | |
558 | + <MESSAGE value="1.2" /> | |
559 | + <option name="LAST_COMMIT_MESSAGE" value="1.2" /> | |
530 | 560 | </component> |
531 | 561 | <component name="XDebuggerManager"> |
532 | 562 | <breakpoint-manager> |
... | ... | @@ -889,7 +919,7 @@ |
889 | 919 | <SUITE FILE_PATH="coverage/yxly$handle_token.coverage" NAME="handle_token Coverage Results" MODIFIED="1687916804880" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tools" /> |
890 | 920 | <SUITE FILE_PATH="coverage/yxly$Unittests_in_fixture_py.coverage" NAME="Unittests in fixture.py Coverage Results" MODIFIED="1671625806027" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> |
891 | 921 | <SUITE FILE_PATH="coverage/yxly$aaa.coverage" NAME="aaa Coverage Results" MODIFIED="1675678970517" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tools" /> |
892 | - <SUITE FILE_PATH="coverage/yxly$run.coverage" NAME="run Coverage Results" MODIFIED="1690193210024" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> | |
922 | + <SUITE FILE_PATH="coverage/yxly$run.coverage" NAME="run Coverage Results" MODIFIED="1690275893306" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> | |
893 | 923 | <SUITE FILE_PATH="coverage/yxly$Unittests_in_test_02_system_management_py.coverage" NAME="Unittests in test_02_system_management.py Coverage Results" MODIFIED="1672304630144" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> |
894 | 924 | <SUITE FILE_PATH="coverage/yxly$Unittests_in_test_01_login_py.coverage" NAME="Unittests in test_01_login.py Coverage Results" MODIFIED="1671641941612" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> |
895 | 925 | <SUITE FILE_PATH="coverage/yxly$Unittests_in_test_04_Internship_preparation_py.coverage" NAME="Unittests in test_04_Internship_preparation.py Coverage Results" MODIFIED="1678692199921" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> | ... | ... |
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
... | ... | @@ -441,3 +441,479 @@ AssertionError: 'success' != '请求异常!' |
441 | 441 | 2023-07-24 18:09:17,864 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 |
442 | 442 | 2023-07-24 18:09:19,609 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 |
443 | 443 | 2023-07-24 18:09:21,247 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 |
444 | +2023-07-25 17:04:57,256 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | |
445 | +2023-07-25 17:04:57,529 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | |
446 | +2023-07-25 17:04:57,827 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | |
447 | +2023-07-25 17:04:58,143 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | |
448 | +2023-07-25 17:04:58,389 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | |
449 | +2023-07-25 17:04:59,036 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
450 | +2023-07-25 17:04:59,359 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | |
451 | +2023-07-25 17:04:59,663 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | |
452 | +2023-07-25 17:04:59,961 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | |
453 | +2023-07-25 17:05:00,269 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | |
454 | +2023-07-25 17:05:00,559 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | |
455 | +2023-07-25 17:05:00,870 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | |
456 | +2023-07-25 17:05:01,198 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | |
457 | +2023-07-25 17:05:01,560 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | |
458 | +2023-07-25 17:05:03,193 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | |
459 | +2023-07-25 17:05:04,324 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | |
460 | +2023-07-25 17:05:05,470 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | |
461 | +2023-07-25 17:05:06,642 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | |
462 | +2023-07-25 17:05:07,781 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | |
463 | +2023-07-25 17:05:09,050 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | |
464 | +2023-07-25 17:05:10,189 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | |
465 | +2023-07-25 17:05:11,319 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | |
466 | +2023-07-25 17:05:12,653 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | |
467 | +2023-07-25 17:05:13,833 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | |
468 | +2023-07-25 17:05:15,091 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | |
469 | +2023-07-25 17:05:16,422 - [test_02_system_management.py-->line:201] - ERROR: 用例标题新增专业成功,不通过 | |
470 | +2023-07-25 17:05:16,423 - [test_02_system_management.py-->line:202] - ERROR: 'success' != '专业名称已存在,请确认' | |
471 | +- success | |
472 | ++ 专业名称已存在,请确认 | |
473 | +Traceback (most recent call last): | |
474 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 197, in test_add_specialty | |
475 | + self.assertEqual(expected["msg"], res["msg"]) | |
476 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
477 | + assertion_func(first, second, msg=msg) | |
478 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
479 | + self.fail(self._formatMessage(msg, standardMsg)) | |
480 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
481 | + raise self.failureException(msg) | |
482 | +AssertionError: 'success' != '专业名称已存在,请确认' | |
483 | +- success | |
484 | ++ 专业名称已存在,请确认 | |
485 | + | |
486 | +2023-07-25 17:05:17,645 - [test_02_system_management.py-->line:201] - ERROR: 用例标题新增专业成功,不通过 | |
487 | +2023-07-25 17:05:17,646 - [test_02_system_management.py-->line:202] - ERROR: 'success' != '专业名称已存在,请确认' | |
488 | +- success | |
489 | ++ 专业名称已存在,请确认 | |
490 | +Traceback (most recent call last): | |
491 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 197, in test_add_specialty | |
492 | + self.assertEqual(expected["msg"], res["msg"]) | |
493 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
494 | + assertion_func(first, second, msg=msg) | |
495 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
496 | + self.fail(self._formatMessage(msg, standardMsg)) | |
497 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
498 | + raise self.failureException(msg) | |
499 | +AssertionError: 'success' != '专业名称已存在,请确认' | |
500 | +- success | |
501 | ++ 专业名称已存在,请确认 | |
502 | + | |
503 | +2023-07-25 17:05:18,984 - [test_02_system_management.py-->line:201] - ERROR: 用例标题新增专业成功,不通过 | |
504 | +2023-07-25 17:05:18,984 - [test_02_system_management.py-->line:202] - ERROR: 'success' != '专业名称已存在,请确认' | |
505 | +- success | |
506 | ++ 专业名称已存在,请确认 | |
507 | +Traceback (most recent call last): | |
508 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 197, in test_add_specialty | |
509 | + self.assertEqual(expected["msg"], res["msg"]) | |
510 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
511 | + assertion_func(first, second, msg=msg) | |
512 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
513 | + self.fail(self._formatMessage(msg, standardMsg)) | |
514 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
515 | + raise self.failureException(msg) | |
516 | +AssertionError: 'success' != '专业名称已存在,请确认' | |
517 | +- success | |
518 | ++ 专业名称已存在,请确认 | |
519 | + | |
520 | +2023-07-25 17:05:19,900 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
521 | +2023-07-25 17:05:20,205 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | |
522 | +2023-07-25 17:05:20,513 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | |
523 | +2023-07-25 17:05:20,816 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | |
524 | +2023-07-25 17:05:21,164 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | |
525 | +2023-07-25 17:05:21,481 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | |
526 | +2023-07-25 17:05:21,839 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | |
527 | +2023-07-25 17:05:22,414 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | |
528 | +2023-07-25 17:05:23,025 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | |
529 | +2023-07-25 17:05:25,648 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
530 | +2023-07-25 17:05:26,154 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | |
531 | +2023-07-25 17:05:26,492 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | |
532 | +2023-07-25 17:05:26,885 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | |
533 | +2023-07-25 17:05:27,285 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | |
534 | +2023-07-25 17:05:28,154 - [test_03_teaching_affairs.py-->line:100] - ERROR: 用例标题教师角色不能为空,不通过 | |
535 | +2023-07-25 17:05:28,154 - [test_03_teaching_affairs.py-->line:101] - ERROR: '教师角色不能为空' != 'success' | |
536 | +- 教师角色不能为空 | |
537 | ++ success | |
538 | +Traceback (most recent call last): | |
539 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 95, in test_add_teacher_info | |
540 | + self.assertEqual(expected['msg'], res['msg']) | |
541 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
542 | + assertion_func(first, second, msg=msg) | |
543 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
544 | + self.fail(self._formatMessage(msg, standardMsg)) | |
545 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
546 | + raise self.failureException(msg) | |
547 | +AssertionError: '教师角色不能为空' != 'success' | |
548 | +- 教师角色不能为空 | |
549 | ++ success | |
550 | + | |
551 | +2023-07-25 17:05:28,816 - [test_03_teaching_affairs.py-->line:100] - ERROR: 用例标题教师角色不能为空,不通过 | |
552 | +2023-07-25 17:05:28,816 - [test_03_teaching_affairs.py-->line:101] - ERROR: '教师角色不能为空' != '该身份证号已存在,请确认' | |
553 | +- 教师角色不能为空 | |
554 | ++ 该身份证号已存在,请确认 | |
555 | +Traceback (most recent call last): | |
556 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 95, in test_add_teacher_info | |
557 | + self.assertEqual(expected['msg'], res['msg']) | |
558 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
559 | + assertion_func(first, second, msg=msg) | |
560 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
561 | + self.fail(self._formatMessage(msg, standardMsg)) | |
562 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
563 | + raise self.failureException(msg) | |
564 | +AssertionError: '教师角色不能为空' != '该身份证号已存在,请确认' | |
565 | +- 教师角色不能为空 | |
566 | ++ 该身份证号已存在,请确认 | |
567 | + | |
568 | +2023-07-25 17:05:29,264 - [test_03_teaching_affairs.py-->line:100] - ERROR: 用例标题教师角色不能为空,不通过 | |
569 | +2023-07-25 17:05:29,264 - [test_03_teaching_affairs.py-->line:101] - ERROR: '教师角色不能为空' != '该身份证号已存在,请确认' | |
570 | +- 教师角色不能为空 | |
571 | ++ 该身份证号已存在,请确认 | |
572 | +Traceback (most recent call last): | |
573 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 95, in test_add_teacher_info | |
574 | + self.assertEqual(expected['msg'], res['msg']) | |
575 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
576 | + assertion_func(first, second, msg=msg) | |
577 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
578 | + self.fail(self._formatMessage(msg, standardMsg)) | |
579 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
580 | + raise self.failureException(msg) | |
581 | +AssertionError: '教师角色不能为空' != '该身份证号已存在,请确认' | |
582 | +- 教师角色不能为空 | |
583 | ++ 该身份证号已存在,请确认 | |
584 | + | |
585 | +2023-07-25 17:05:29,709 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | |
586 | +2023-07-25 17:05:30,173 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | |
587 | +2023-07-25 17:05:30,693 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | |
588 | +2023-07-25 17:05:31,205 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | |
589 | +2023-07-25 17:05:31,737 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | |
590 | +2023-07-25 17:05:35,174 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
591 | +2023-07-25 17:05:35,586 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | |
592 | +2023-07-25 17:05:35,953 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
593 | +2023-07-25 17:05:36,331 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | |
594 | +2023-07-25 17:05:36,612 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | |
595 | +2023-07-25 17:05:36,987 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | |
596 | +2023-07-25 17:05:37,374 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | |
597 | +2023-07-25 17:05:37,714 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | |
598 | +2023-07-25 17:05:38,614 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | |
599 | +2023-07-25 17:05:38,900 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | |
600 | +2023-07-25 17:05:39,235 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | |
601 | +2023-07-25 17:05:39,627 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | |
602 | +2023-07-25 17:05:42,350 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例新增课程,执行通过 | |
603 | +2023-07-25 17:05:42,638 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例课程名称不能为空,执行通过 | |
604 | +2023-07-25 17:05:42,944 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例课程名称不能超过30字,执行通过 | |
605 | +2023-07-25 17:05:43,229 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例实践类型不能为空,执行通过 | |
606 | +2023-07-25 17:05:43,531 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例院系不能为空,执行通过 | |
607 | +2023-07-25 17:05:43,823 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例院系不能为空,执行通过 | |
608 | +2023-07-25 17:05:44,120 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学分不能为空,执行通过 | |
609 | +2023-07-25 17:05:44,425 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例修读性质不能为空,执行通过 | |
610 | +2023-07-25 17:05:44,728 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例修读性质填写错误,执行通过 | |
611 | +2023-07-25 17:05:45,029 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学时(周数)不能为空,执行通过 | |
612 | +2023-07-25 17:05:45,337 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学期不能为空,执行通过 | |
613 | +2023-07-25 17:05:45,642 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例专业不能为空,执行通过 | |
614 | +2023-07-25 17:05:45,938 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例专业填写错误,执行通过 | |
615 | +2023-07-25 17:05:46,265 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例新增课程,执行通过 | |
616 | +2023-07-25 17:05:49,922 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例新增学生成功,执行通过 | |
617 | +2023-07-25 17:05:50,258 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学生姓名未填写失败,执行通过 | |
618 | +2023-07-25 17:05:50,575 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学生学号未填写失败,执行通过 | |
619 | +2023-07-25 17:05:51,235 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例手机号未填写,添加成功,执行通过 | |
620 | +2023-07-25 17:05:51,561 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例入学年份未填写,添加失败,执行通过 | |
621 | +2023-07-25 17:05:51,863 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例班级未填写,添加失败,执行通过 | |
622 | +2023-07-25 17:05:52,220 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | |
623 | +2023-07-25 17:05:52,561 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | |
624 | +2023-07-25 17:05:52,866 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | |
625 | +2023-07-25 17:05:53,275 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例性别未填写,添加成功,执行通过 | |
626 | +2023-07-25 17:05:53,632 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学籍状态未填写,添加成功,执行通过 | |
627 | +2023-07-25 17:05:54,034 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例培养方向未填写,添加成功,执行通过 | |
628 | +2023-07-25 17:05:54,406 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例其他-备注未填写,添加成功,执行通过 | |
629 | +2023-07-25 17:05:54,717 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例院系ID未填写,添加失败,执行通过 | |
630 | +2023-07-25 17:05:55,037 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例专业ID未填写添加失败,执行通过 | |
631 | +2023-07-25 17:05:55,411 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例新增学生成功,执行通过 | |
632 | +2023-07-25 17:06:02,056 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
633 | +2023-07-25 17:06:02,389 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | |
634 | +2023-07-25 17:06:02,716 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | |
635 | +2023-07-25 17:06:03,066 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | |
636 | +2023-07-25 17:06:03,487 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | |
637 | +2023-07-25 17:06:03,878 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | |
638 | +2023-07-25 17:06:04,234 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | |
639 | +2023-07-25 17:06:04,580 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | |
640 | +2023-07-25 17:06:04,924 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | |
641 | +2023-07-25 17:06:05,261 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | |
642 | +2023-07-25 17:06:05,600 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | |
643 | +2023-07-25 17:06:05,951 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | |
644 | +2023-07-25 17:06:06,344 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | |
645 | +2023-07-25 17:06:06,709 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | |
646 | +2023-07-25 17:06:07,023 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | |
647 | +2023-07-25 17:06:07,350 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | |
648 | +2023-07-25 17:06:07,688 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | |
649 | +2023-07-25 17:06:08,014 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | |
650 | +2023-07-25 17:06:08,346 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | |
651 | +2023-07-25 17:06:08,668 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | |
652 | +2023-07-25 17:06:09,009 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | |
653 | +2023-07-25 17:06:09,351 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | |
654 | +2023-07-25 17:06:09,740 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | |
655 | +2023-07-25 17:06:10,074 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | |
656 | +2023-07-25 17:06:10,406 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | |
657 | +2023-07-25 17:06:11,929 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | |
658 | +2023-07-25 17:06:15,192 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
659 | +2023-07-25 17:06:15,606 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | |
660 | +2023-07-25 17:06:16,012 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | |
661 | +2023-07-25 17:06:16,406 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | |
662 | +2023-07-25 17:06:16,743 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | |
663 | +2023-07-25 17:06:17,087 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | |
664 | +2023-07-25 17:06:17,397 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | |
665 | +2023-07-25 17:06:17,749 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | |
666 | +2023-07-25 17:06:18,253 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | |
667 | +2023-07-25 17:06:18,589 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | |
668 | +2023-07-25 17:06:19,038 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | |
669 | +2023-07-25 17:06:19,330 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | |
670 | +2023-07-25 17:06:19,675 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | |
671 | +2023-07-25 17:06:20,108 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | |
672 | +2023-07-25 17:06:20,539 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | |
673 | +2023-07-25 17:06:21,003 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
674 | +2023-07-25 17:06:21,003 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | |
675 | +- 报名审核填写错误 | |
676 | ++ success | |
677 | +Traceback (most recent call last): | |
678 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
679 | + self.assertEqual(expected['msg'], res['msg']) | |
680 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
681 | + assertion_func(first, second, msg=msg) | |
682 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
683 | + self.fail(self._formatMessage(msg, standardMsg)) | |
684 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
685 | + raise self.failureException(msg) | |
686 | +AssertionError: '报名审核填写错误' != 'success' | |
687 | +- 报名审核填写错误 | |
688 | ++ success | |
689 | + | |
690 | +2023-07-25 17:06:21,494 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
691 | +2023-07-25 17:06:21,494 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
692 | +- 报名审核填写错误 | |
693 | ++ 项目名称已存在 | |
694 | +Traceback (most recent call last): | |
695 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
696 | + self.assertEqual(expected['msg'], res['msg']) | |
697 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
698 | + assertion_func(first, second, msg=msg) | |
699 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
700 | + self.fail(self._formatMessage(msg, standardMsg)) | |
701 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
702 | + raise self.failureException(msg) | |
703 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
704 | +- 报名审核填写错误 | |
705 | ++ 项目名称已存在 | |
706 | + | |
707 | +2023-07-25 17:06:21,995 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | |
708 | +2023-07-25 17:06:21,995 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | |
709 | +- 报名审核填写错误 | |
710 | ++ 项目名称已存在 | |
711 | +Traceback (most recent call last): | |
712 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
713 | + self.assertEqual(expected['msg'], res['msg']) | |
714 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
715 | + assertion_func(first, second, msg=msg) | |
716 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
717 | + self.fail(self._formatMessage(msg, standardMsg)) | |
718 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
719 | + raise self.failureException(msg) | |
720 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | |
721 | +- 报名审核填写错误 | |
722 | ++ 项目名称已存在 | |
723 | + | |
724 | +2023-07-25 17:06:22,382 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
725 | +2023-07-25 17:06:22,382 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | |
726 | +- 报名审核不能为空 | |
727 | ++ success | |
728 | +Traceback (most recent call last): | |
729 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
730 | + self.assertEqual(expected['msg'], res['msg']) | |
731 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
732 | + assertion_func(first, second, msg=msg) | |
733 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
734 | + self.fail(self._formatMessage(msg, standardMsg)) | |
735 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
736 | + raise self.failureException(msg) | |
737 | +AssertionError: '报名审核不能为空' != 'success' | |
738 | +- 报名审核不能为空 | |
739 | ++ success | |
740 | + | |
741 | +2023-07-25 17:06:22,878 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
742 | +2023-07-25 17:06:22,879 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
743 | +- 报名审核不能为空 | |
744 | ++ 项目名称已存在 | |
745 | +Traceback (most recent call last): | |
746 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
747 | + self.assertEqual(expected['msg'], res['msg']) | |
748 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
749 | + assertion_func(first, second, msg=msg) | |
750 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
751 | + self.fail(self._formatMessage(msg, standardMsg)) | |
752 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
753 | + raise self.failureException(msg) | |
754 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
755 | +- 报名审核不能为空 | |
756 | ++ 项目名称已存在 | |
757 | + | |
758 | +2023-07-25 17:06:23,369 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | |
759 | +2023-07-25 17:06:23,369 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | |
760 | +- 报名审核不能为空 | |
761 | ++ 项目名称已存在 | |
762 | +Traceback (most recent call last): | |
763 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
764 | + self.assertEqual(expected['msg'], res['msg']) | |
765 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
766 | + assertion_func(first, second, msg=msg) | |
767 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
768 | + self.fail(self._formatMessage(msg, standardMsg)) | |
769 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
770 | + raise self.failureException(msg) | |
771 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | |
772 | +- 报名审核不能为空 | |
773 | ++ 项目名称已存在 | |
774 | + | |
775 | +2023-07-25 17:06:23,907 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
776 | +2023-07-25 17:06:23,907 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | |
777 | +- 实习计划不匹配 | |
778 | ++ success | |
779 | +Traceback (most recent call last): | |
780 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
781 | + self.assertEqual(expected['msg'], res['msg']) | |
782 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
783 | + assertion_func(first, second, msg=msg) | |
784 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
785 | + self.fail(self._formatMessage(msg, standardMsg)) | |
786 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
787 | + raise self.failureException(msg) | |
788 | +AssertionError: '实习计划不匹配' != 'success' | |
789 | +- 实习计划不匹配 | |
790 | ++ success | |
791 | + | |
792 | +2023-07-25 17:06:24,422 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
793 | +2023-07-25 17:06:24,422 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
794 | +- 实习计划不匹配 | |
795 | ++ 项目名称已存在 | |
796 | +Traceback (most recent call last): | |
797 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
798 | + self.assertEqual(expected['msg'], res['msg']) | |
799 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
800 | + assertion_func(first, second, msg=msg) | |
801 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
802 | + self.fail(self._formatMessage(msg, standardMsg)) | |
803 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
804 | + raise self.failureException(msg) | |
805 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
806 | +- 实习计划不匹配 | |
807 | ++ 项目名称已存在 | |
808 | + | |
809 | +2023-07-25 17:06:24,910 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | |
810 | +2023-07-25 17:06:24,911 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | |
811 | +- 实习计划不匹配 | |
812 | ++ 项目名称已存在 | |
813 | +Traceback (most recent call last): | |
814 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
815 | + self.assertEqual(expected['msg'], res['msg']) | |
816 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
817 | + assertion_func(first, second, msg=msg) | |
818 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
819 | + self.fail(self._formatMessage(msg, standardMsg)) | |
820 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
821 | + raise self.failureException(msg) | |
822 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | |
823 | +- 实习计划不匹配 | |
824 | ++ 项目名称已存在 | |
825 | + | |
826 | +2023-07-25 17:06:25,306 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
827 | +2023-07-25 17:06:25,306 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | |
828 | +- 自行填报企业信息不能为空 | |
829 | ++ success | |
830 | +Traceback (most recent call last): | |
831 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
832 | + self.assertEqual(expected['msg'], res['msg']) | |
833 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
834 | + assertion_func(first, second, msg=msg) | |
835 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
836 | + self.fail(self._formatMessage(msg, standardMsg)) | |
837 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
838 | + raise self.failureException(msg) | |
839 | +AssertionError: '自行填报企业信息不能为空' != 'success' | |
840 | +- 自行填报企业信息不能为空 | |
841 | ++ success | |
842 | + | |
843 | +2023-07-25 17:06:25,800 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
844 | +2023-07-25 17:06:25,800 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
845 | +- 自行填报企业信息不能为空 | |
846 | ++ 项目名称已存在 | |
847 | +Traceback (most recent call last): | |
848 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
849 | + self.assertEqual(expected['msg'], res['msg']) | |
850 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
851 | + assertion_func(first, second, msg=msg) | |
852 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
853 | + self.fail(self._formatMessage(msg, standardMsg)) | |
854 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
855 | + raise self.failureException(msg) | |
856 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
857 | +- 自行填报企业信息不能为空 | |
858 | ++ 项目名称已存在 | |
859 | + | |
860 | +2023-07-25 17:06:26,454 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | |
861 | +2023-07-25 17:06:26,454 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | |
862 | +- 自行填报企业信息不能为空 | |
863 | ++ 项目名称已存在 | |
864 | +Traceback (most recent call last): | |
865 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | |
866 | + self.assertEqual(expected['msg'], res['msg']) | |
867 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | |
868 | + assertion_func(first, second, msg=msg) | |
869 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | |
870 | + self.fail(self._formatMessage(msg, standardMsg)) | |
871 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | |
872 | + raise self.failureException(msg) | |
873 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | |
874 | +- 自行填报企业信息不能为空 | |
875 | ++ 项目名称已存在 | |
876 | + | |
877 | +2023-07-25 17:06:26,913 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | |
878 | +2023-07-25 17:06:27,298 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | |
879 | +2023-07-25 17:06:27,697 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | |
880 | +2023-07-25 17:06:28,039 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | |
881 | +2023-07-25 17:06:28,451 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | |
882 | +2023-07-25 17:06:28,891 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | |
883 | +2023-07-25 17:06:29,295 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | |
884 | +2023-07-25 17:06:29,705 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
885 | +2023-07-25 17:06:30,098 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | |
886 | +2023-07-25 17:06:31,885 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | |
887 | +2023-07-25 17:06:32,994 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | |
888 | +2023-07-25 17:06:35,209 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | |
889 | +2023-07-25 17:06:36,205 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | |
890 | +2023-07-25 17:06:38,108 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | |
891 | +2023-07-25 17:06:39,879 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | |
892 | +2023-07-25 17:06:42,359 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | |
893 | +2023-07-25 17:06:43,988 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-日志标题不能为空,执行通过 | |
894 | +2023-07-25 17:06:45,274 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-日志标题不能超过30位,执行通过 | |
895 | +2023-07-25 17:06:46,491 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-实习单不存在,执行通过 | |
896 | +2023-07-25 17:06:47,620 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-实习单不能为空,执行通过 | |
897 | +2023-07-25 17:06:48,739 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-周日志种类不能为空,执行通过 | |
898 | +2023-07-25 17:06:49,916 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-周日志时间不能为空,执行通过 | |
899 | +2023-07-25 17:06:51,027 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周志标题不能为空,执行通过 | |
900 | +2023-07-25 17:06:52,181 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周志标题不能超过30位,执行通过 | |
901 | +2023-07-25 17:06:53,307 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-周志)-实习单不存在,执行通过 | |
902 | +2023-07-25 17:06:54,443 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-实习单不能为空,执行通过 | |
903 | +2023-07-25 17:06:55,889 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周日志种类不能为空,执行通过 | |
904 | +2023-07-25 17:06:57,007 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周日志时间不能为空,执行通过 | |
905 | +2023-07-25 17:06:58,052 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-月志标题不能为空,执行通过 | |
906 | +2023-07-25 17:06:59,172 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-月志标题不能超过30位,执行通过 | |
907 | +2023-07-25 17:07:00,272 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-实习单不存在,执行通过 | |
908 | +2023-07-25 17:07:01,458 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-实习单不能为空,执行通过 | |
909 | +2023-07-25 17:07:02,569 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-周日志种类不能为空,执行通过 | |
910 | +2023-07-25 17:07:03,672 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-周日志时间不能为空,执行通过 | |
911 | +2023-07-25 17:07:04,901 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | |
912 | +2023-07-25 17:07:05,987 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | |
913 | +2023-07-25 17:07:07,169 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | |
914 | +2023-07-25 17:07:09,884 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | |
915 | +2023-07-25 17:07:12,275 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | |
916 | +2023-07-25 17:07:14,983 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | |
917 | +2023-07-25 17:07:16,687 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | |
918 | +2023-07-25 17:07:18,705 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | |
919 | +2023-07-25 17:07:19,980 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 | ... | ... |
此 diff 太大无法显示。
此 diff 太大无法显示。
... | ... | @@ -58,7 +58,7 @@ cccc = unittest.TestLoader().loadTestsFromTestCase(Test01addInternshipPlan) |
58 | 58 | suite = unittest.TestSuite([a1, a2, a3, a4, a5, a6]) |
59 | 59 | suite_a = unittest.TestSuite([cccc]) |
60 | 60 | |
61 | -# runner_test(suite_all) # 执行 | |
61 | +runner_test(suite_all) # 执行 | |
62 | 62 | |
63 | 63 | |
64 | 64 | # runner_test(suite_a) # 执行 |
... | ... | @@ -75,15 +75,15 @@ suite_a = unittest.TestSuite([cccc]) |
75 | 75 | # print("输入错误") |
76 | 76 | # else: |
77 | 77 | # print("执行完毕,请确认") |
78 | -# 运行文件 | |
79 | -runner = TestRunner(suite=suite_all, | |
80 | - filename=conf.get("report", "filename"), | |
81 | - report_dir=Report_Path, | |
82 | - title=conf.get("report", "title"), | |
83 | - tester=conf.get("report", "tester"), | |
84 | - desc=conf.get("report", "desc"), | |
85 | - templates=conf.getint("report", "templates") | |
86 | - ) | |
87 | -# runner.run() | |
88 | -# 执行失败重新运行机制 | |
89 | -runner.rerun_run(count=2, interval=0.2) | |
78 | +# # 运行文件 | |
79 | +# runner = TestRunner(suite=suite_all, | |
80 | +# filename=conf.get("report", "filename"), | |
81 | +# report_dir=Report_Path, | |
82 | +# title=conf.get("report", "title"), | |
83 | +# tester=conf.get("report", "tester"), | |
84 | +# desc=conf.get("report", "desc"), | |
85 | +# templates=conf.getint("report", "templates") | |
86 | +# ) | |
87 | +# # runner.run() | |
88 | +# # 执行失败重新运行机制 | |
89 | +# runner.rerun_run(count=2, interval=0.2) | ... | ... |
... | ... | @@ -39,10 +39,10 @@ def runner_test(suite): |
39 | 39 | # """ |
40 | 40 | # 发送邮件 |
41 | 41 | # """ |
42 | - # runner.send_email(host="smtp.qq.com", | |
43 | - # port=465, | |
44 | - # user="shishut@foxmail.com", | |
45 | - # password="uwgmbvzjfscqbeeh", | |
46 | - # to_addrs=["shishut@workai.com.cn"] | |
47 | - # # to_addrs=["shishut@workai.com.cn", "wangf@workai.com.cn"] | |
48 | - # ) | |
42 | + runner.send_email(host="smtp.qq.com", | |
43 | + port=465, | |
44 | + user="shishut@foxmail.com", | |
45 | + password="uwgmbvzjfscqbeeh", | |
46 | + to_addrs=["shishut@workai.com.cn"] | |
47 | + # to_addrs=["shishut@workai.com.cn", "wangf@workai.com.cn"] | |
48 | + ) | ... | ... |
请
注册
或
登录
后发表评论