正在显示
19 个修改的文件
包含
415 行增加
和
11 行删除
@@ -3,6 +3,23 @@ | @@ -3,6 +3,23 @@ | ||
3 | <component name="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.run文件改回原来版本"> | 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" /> | 5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
6 | + <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_07_apply_audit.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_07_apply_audit.xlsx" afterDir="false" /> | ||
7 | + <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_08_log_marking.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_08_log_marking.xlsx" afterDir="false" /> | ||
8 | + <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_09_leave_record.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_09_leave_record.xlsx" afterDir="false" /> | ||
9 | + <change beforePath="$PROJECT_DIR$/data/Internship_preparation/test_04_internship_plan.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_preparation/test_04_internship_plan.xlsx" afterDir="false" /> | ||
10 | + <change beforePath="$PROJECT_DIR$/data/Internship_preparation/test_05_internship_project.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_preparation/test_05_internship_project.xlsx" afterDir="false" /> | ||
11 | + <change beforePath="$PROJECT_DIR$/data/student_practice/test_06__practice.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/student_practice/test_06__practice.xlsx" afterDir="false" /> | ||
12 | + <change beforePath="$PROJECT_DIR$/data/system/test_02_department.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_department.xlsx" afterDir="false" /> | ||
13 | + <change beforePath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" afterDir="false" /> | ||
14 | + <change beforePath="$PROJECT_DIR$/data/system/test_02_term.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_term.xlsx" afterDir="false" /> | ||
15 | + <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" /> | ||
16 | + <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" /> | ||
17 | + <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" /> | ||
18 | + <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" /> | ||
19 | + <change beforePath="$PROJECT_DIR$/data/test_01_login.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/test_01_login.xlsx" afterDir="false" /> | ||
20 | + <change beforePath="$PROJECT_DIR$/logs/log.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/log.log" afterDir="false" /> | ||
21 | + <change beforePath="$PROJECT_DIR$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" /> | ||
22 | + <change beforePath="$PROJECT_DIR$/report/report1.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report1.html" afterDir="false" /> | ||
6 | <change beforePath="$PROJECT_DIR$/tools/fixture.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/fixture.py" afterDir="false" /> | 23 | <change beforePath="$PROJECT_DIR$/tools/fixture.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/fixture.py" afterDir="false" /> |
7 | </list> | 24 | </list> |
8 | <option name="SHOW_DIALOG" value="false" /> | 25 | <option name="SHOW_DIALOG" value="false" /> |
@@ -269,7 +286,7 @@ | @@ -269,7 +286,7 @@ | ||
269 | <workItem from="1690180441280" duration="3613000" /> | 286 | <workItem from="1690180441280" duration="3613000" /> |
270 | <workItem from="1690248894302" duration="5537000" /> | 287 | <workItem from="1690248894302" duration="5537000" /> |
271 | <workItem from="1690335249246" duration="4289000" /> | 288 | <workItem from="1690335249246" duration="4289000" /> |
272 | - <workItem from="1690422699671" duration="2252000" /> | 289 | + <workItem from="1690422699671" duration="2972000" /> |
273 | </task> | 290 | </task> |
274 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> | 291 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> |
275 | <created>1671544396986</created> | 292 | <created>1671544396986</created> |
@@ -516,7 +533,14 @@ | @@ -516,7 +533,14 @@ | ||
516 | <option name="project" value="LOCAL" /> | 533 | <option name="project" value="LOCAL" /> |
517 | <updated>1690446437306</updated> | 534 | <updated>1690446437306</updated> |
518 | </task> | 535 | </task> |
519 | - <option name="localTasksCounter" value="36" /> | 536 | + <task id="LOCAL-00036" summary="1.run文件改回原来版本"> |
537 | + <created>1690446784585</created> | ||
538 | + <option name="number" value="00036" /> | ||
539 | + <option name="presentableId" value="LOCAL-00036" /> | ||
540 | + <option name="project" value="LOCAL" /> | ||
541 | + <updated>1690446784585</updated> | ||
542 | + </task> | ||
543 | + <option name="localTasksCounter" value="37" /> | ||
520 | <servers /> | 544 | <servers /> |
521 | </component> | 545 | </component> |
522 | <component name="TypeScriptGeneratedFilesManager"> | 546 | <component name="TypeScriptGeneratedFilesManager"> |
@@ -624,7 +648,7 @@ | @@ -624,7 +648,7 @@ | ||
624 | </line-breakpoint> | 648 | </line-breakpoint> |
625 | <line-breakpoint suspend="THREAD" type="python-line"> | 649 | <line-breakpoint suspend="THREAD" type="python-line"> |
626 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 650 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
627 | - <line>32</line> | 651 | + <line>33</line> |
628 | <option name="timeStamp" value="33" /> | 652 | <option name="timeStamp" value="33" /> |
629 | </line-breakpoint> | 653 | </line-breakpoint> |
630 | <line-breakpoint suspend="THREAD" type="python-line"> | 654 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -669,7 +693,7 @@ | @@ -669,7 +693,7 @@ | ||
669 | </line-breakpoint> | 693 | </line-breakpoint> |
670 | <line-breakpoint suspend="THREAD" type="python-line"> | 694 | <line-breakpoint suspend="THREAD" type="python-line"> |
671 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 695 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
672 | - <line>83</line> | 696 | + <line>88</line> |
673 | <option name="timeStamp" value="60" /> | 697 | <option name="timeStamp" value="60" /> |
674 | </line-breakpoint> | 698 | </line-breakpoint> |
675 | <line-breakpoint suspend="THREAD" type="python-line"> | 699 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -789,7 +813,7 @@ | @@ -789,7 +813,7 @@ | ||
789 | </line-breakpoint> | 813 | </line-breakpoint> |
790 | <line-breakpoint suspend="THREAD" type="python-line"> | 814 | <line-breakpoint suspend="THREAD" type="python-line"> |
791 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 815 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
792 | - <line>35</line> | 816 | + <line>36</line> |
793 | <option name="timeStamp" value="140" /> | 817 | <option name="timeStamp" value="140" /> |
794 | </line-breakpoint> | 818 | </line-breakpoint> |
795 | <line-breakpoint suspend="THREAD" type="python-line"> | 819 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -799,7 +823,7 @@ | @@ -799,7 +823,7 @@ | ||
799 | </line-breakpoint> | 823 | </line-breakpoint> |
800 | <line-breakpoint suspend="THREAD" type="python-line"> | 824 | <line-breakpoint suspend="THREAD" type="python-line"> |
801 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 825 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
802 | - <line>26</line> | 826 | + <line>27</line> |
803 | <option name="timeStamp" value="143" /> | 827 | <option name="timeStamp" value="143" /> |
804 | </line-breakpoint> | 828 | </line-breakpoint> |
805 | <line-breakpoint suspend="THREAD" type="python-line"> | 829 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -829,12 +853,12 @@ | @@ -829,12 +853,12 @@ | ||
829 | </line-breakpoint> | 853 | </line-breakpoint> |
830 | <line-breakpoint suspend="THREAD" type="python-line"> | 854 | <line-breakpoint suspend="THREAD" type="python-line"> |
831 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 855 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
832 | - <line>49</line> | 856 | + <line>50</line> |
833 | <option name="timeStamp" value="166" /> | 857 | <option name="timeStamp" value="166" /> |
834 | </line-breakpoint> | 858 | </line-breakpoint> |
835 | <line-breakpoint suspend="THREAD" type="python-line"> | 859 | <line-breakpoint suspend="THREAD" type="python-line"> |
836 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 860 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
837 | - <line>50</line> | 861 | + <line>51</line> |
838 | <option name="timeStamp" value="167" /> | 862 | <option name="timeStamp" value="167" /> |
839 | </line-breakpoint> | 863 | </line-breakpoint> |
840 | <line-breakpoint suspend="THREAD" type="python-line"> | 864 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -844,7 +868,7 @@ | @@ -844,7 +868,7 @@ | ||
844 | </line-breakpoint> | 868 | </line-breakpoint> |
845 | <line-breakpoint suspend="THREAD" type="python-line"> | 869 | <line-breakpoint suspend="THREAD" type="python-line"> |
846 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 870 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
847 | - <line>38</line> | 871 | + <line>39</line> |
848 | <option name="timeStamp" value="171" /> | 872 | <option name="timeStamp" value="171" /> |
849 | </line-breakpoint> | 873 | </line-breakpoint> |
850 | <line-breakpoint suspend="THREAD" type="python-line"> | 874 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -914,7 +938,7 @@ | @@ -914,7 +938,7 @@ | ||
914 | </line-breakpoint> | 938 | </line-breakpoint> |
915 | <line-breakpoint enabled="true" suspend="THREAD" type="python-line"> | 939 | <line-breakpoint enabled="true" suspend="THREAD" type="python-line"> |
916 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> | 940 | <url>file://$PROJECT_DIR$/tools/fixture.py</url> |
917 | - <line>80</line> | 941 | + <line>81</line> |
918 | <option name="timeStamp" value="205" /> | 942 | <option name="timeStamp" value="205" /> |
919 | </line-breakpoint> | 943 | </line-breakpoint> |
920 | </breakpoints> | 944 | </breakpoints> |
@@ -940,7 +964,7 @@ | @@ -940,7 +964,7 @@ | ||
940 | <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" /> | 964 | <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" /> |
941 | <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" /> | 965 | <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" /> |
942 | <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" /> | 966 | <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" /> |
943 | - <SUITE FILE_PATH="coverage/yxly$run.coverage" NAME="run Coverage Results" MODIFIED="1690422865929" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> | 967 | + <SUITE FILE_PATH="coverage/yxly$run.coverage" NAME="run Coverage Results" MODIFIED="1690446962590" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
944 | <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" /> | 968 | <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" /> |
945 | <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" /> | 969 | <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" /> |
946 | <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" /> | 970 | <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" /> |
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
@@ -3452,3 +3452,378 @@ AssertionError: 'success' != '请求异常!' | @@ -3452,3 +3452,378 @@ AssertionError: 'success' != '请求异常!' | ||
3452 | 2023-07-27 09:57:21,140 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | 3452 | 2023-07-27 09:57:21,140 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 |
3453 | 2023-07-27 09:57:23,134 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | 3453 | 2023-07-27 09:57:23,134 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 |
3454 | 2023-07-27 09:57:24,536 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 | 3454 | 2023-07-27 09:57:24,536 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 |
3455 | +2023-07-27 16:36:05,516 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | ||
3456 | +2023-07-27 16:36:05,744 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | ||
3457 | +2023-07-27 16:36:05,965 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | ||
3458 | +2023-07-27 16:36:06,284 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | ||
3459 | +2023-07-27 16:36:06,493 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | ||
3460 | +2023-07-27 16:36:07,256 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | ||
3461 | +2023-07-27 16:36:07,528 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | ||
3462 | +2023-07-27 16:36:07,833 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | ||
3463 | +2023-07-27 16:36:08,123 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | ||
3464 | +2023-07-27 16:36:08,419 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | ||
3465 | +2023-07-27 16:36:08,689 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | ||
3466 | +2023-07-27 16:36:08,980 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | ||
3467 | +2023-07-27 16:36:09,266 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | ||
3468 | +2023-07-27 16:36:09,579 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | ||
3469 | +2023-07-27 16:36:11,288 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | ||
3470 | +2023-07-27 16:36:12,499 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | ||
3471 | +2023-07-27 16:36:13,628 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | ||
3472 | +2023-07-27 16:36:14,796 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | ||
3473 | +2023-07-27 16:36:15,887 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | ||
3474 | +2023-07-27 16:36:17,131 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | ||
3475 | +2023-07-27 16:36:18,362 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | ||
3476 | +2023-07-27 16:36:19,544 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | ||
3477 | +2023-07-27 16:36:20,802 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | ||
3478 | +2023-07-27 16:36:21,861 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | ||
3479 | +2023-07-27 16:36:22,954 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | ||
3480 | +2023-07-27 16:36:23,956 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | ||
3481 | +2023-07-27 16:36:24,553 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | ||
3482 | +2023-07-27 16:36:24,828 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | ||
3483 | +2023-07-27 16:36:25,119 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | ||
3484 | +2023-07-27 16:36:25,383 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | ||
3485 | +2023-07-27 16:36:25,671 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | ||
3486 | +2023-07-27 16:36:25,955 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | ||
3487 | +2023-07-27 16:36:26,241 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | ||
3488 | +2023-07-27 16:36:26,542 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | ||
3489 | +2023-07-27 16:36:26,830 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | ||
3490 | +2023-07-27 16:36:28,556 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | ||
3491 | +2023-07-27 16:36:28,880 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | ||
3492 | +2023-07-27 16:36:29,177 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | ||
3493 | +2023-07-27 16:36:29,714 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | ||
3494 | +2023-07-27 16:36:30,004 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | ||
3495 | +2023-07-27 16:36:30,473 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | ||
3496 | +2023-07-27 16:36:30,991 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | ||
3497 | +2023-07-27 16:36:31,440 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | ||
3498 | +2023-07-27 16:36:31,851 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | ||
3499 | +2023-07-27 16:36:32,489 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | ||
3500 | +2023-07-27 16:36:35,595 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | ||
3501 | +2023-07-27 16:36:35,896 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | ||
3502 | +2023-07-27 16:36:36,184 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | ||
3503 | +2023-07-27 16:36:36,477 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | ||
3504 | +2023-07-27 16:36:36,766 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | ||
3505 | +2023-07-27 16:36:37,047 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | ||
3506 | +2023-07-27 16:36:37,337 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | ||
3507 | +2023-07-27 16:36:37,635 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | ||
3508 | +2023-07-27 16:36:37,929 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | ||
3509 | +2023-07-27 16:36:38,234 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | ||
3510 | +2023-07-27 16:36:38,539 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | ||
3511 | +2023-07-27 16:36:38,876 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | ||
3512 | +2023-07-27 16:36:41,767 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例新增课程,执行通过 | ||
3513 | +2023-07-27 16:36:42,046 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例课程名称不能为空,执行通过 | ||
3514 | +2023-07-27 16:36:42,328 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例课程名称不能超过30字,执行通过 | ||
3515 | +2023-07-27 16:36:42,615 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例实践类型不能为空,执行通过 | ||
3516 | +2023-07-27 16:36:42,906 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例院系不能为空,执行通过 | ||
3517 | +2023-07-27 16:36:43,203 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例院系不能为空,执行通过 | ||
3518 | +2023-07-27 16:36:43,491 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学分不能为空,执行通过 | ||
3519 | +2023-07-27 16:36:43,775 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例修读性质不能为空,执行通过 | ||
3520 | +2023-07-27 16:36:44,064 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例修读性质填写错误,执行通过 | ||
3521 | +2023-07-27 16:36:44,357 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学时(周数)不能为空,执行通过 | ||
3522 | +2023-07-27 16:36:44,640 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例学期不能为空,执行通过 | ||
3523 | +2023-07-27 16:36:44,933 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例专业不能为空,执行通过 | ||
3524 | +2023-07-27 16:36:45,217 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例专业填写错误,执行通过 | ||
3525 | +2023-07-27 16:36:45,498 - [test_03_teaching_affairs.py-->line:288] - INFO: 用例新增课程,执行通过 | ||
3526 | +2023-07-27 16:36:49,288 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例新增学生成功,执行通过 | ||
3527 | +2023-07-27 16:36:49,573 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学生姓名未填写失败,执行通过 | ||
3528 | +2023-07-27 16:36:49,857 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学生学号未填写失败,执行通过 | ||
3529 | +2023-07-27 16:36:50,196 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例手机号未填写,添加成功,执行通过 | ||
3530 | +2023-07-27 16:36:50,471 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例入学年份未填写,添加失败,执行通过 | ||
3531 | +2023-07-27 16:36:50,757 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例班级未填写,添加失败,执行通过 | ||
3532 | +2023-07-27 16:36:51,059 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | ||
3533 | +2023-07-27 16:36:51,382 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | ||
3534 | +2023-07-27 16:36:51,657 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | ||
3535 | +2023-07-27 16:36:51,994 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例性别未填写,添加成功,执行通过 | ||
3536 | +2023-07-27 16:36:52,323 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例学籍状态未填写,添加成功,执行通过 | ||
3537 | +2023-07-27 16:36:52,655 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例培养方向未填写,添加成功,执行通过 | ||
3538 | +2023-07-27 16:36:52,988 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例其他-备注未填写,添加成功,执行通过 | ||
3539 | +2023-07-27 16:36:53,272 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例院系ID未填写,添加失败,执行通过 | ||
3540 | +2023-07-27 16:36:53,544 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例专业ID未填写添加失败,执行通过 | ||
3541 | +2023-07-27 16:36:53,887 - [test_03_teaching_affairs.py-->line:394] - INFO: 用例新增学生成功,执行通过 | ||
3542 | +2023-07-27 16:36:59,235 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | ||
3543 | +2023-07-27 16:36:59,527 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | ||
3544 | +2023-07-27 16:36:59,828 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | ||
3545 | +2023-07-27 16:37:00,112 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | ||
3546 | +2023-07-27 16:37:00,452 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | ||
3547 | +2023-07-27 16:37:00,739 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | ||
3548 | +2023-07-27 16:37:01,013 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | ||
3549 | +2023-07-27 16:37:01,345 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | ||
3550 | +2023-07-27 16:37:01,625 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | ||
3551 | +2023-07-27 16:37:01,920 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | ||
3552 | +2023-07-27 16:37:02,207 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | ||
3553 | +2023-07-27 16:37:02,492 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | ||
3554 | +2023-07-27 16:37:02,882 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | ||
3555 | +2023-07-27 16:37:03,252 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | ||
3556 | +2023-07-27 16:37:03,525 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | ||
3557 | +2023-07-27 16:37:03,796 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | ||
3558 | +2023-07-27 16:37:04,100 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | ||
3559 | +2023-07-27 16:37:04,385 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | ||
3560 | +2023-07-27 16:37:04,692 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | ||
3561 | +2023-07-27 16:37:05,037 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | ||
3562 | +2023-07-27 16:37:05,326 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | ||
3563 | +2023-07-27 16:37:05,695 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | ||
3564 | +2023-07-27 16:37:06,063 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | ||
3565 | +2023-07-27 16:37:06,430 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | ||
3566 | +2023-07-27 16:37:06,722 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | ||
3567 | +2023-07-27 16:37:08,007 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | ||
3568 | +2023-07-27 16:37:10,818 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | ||
3569 | +2023-07-27 16:37:11,188 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | ||
3570 | +2023-07-27 16:37:11,549 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | ||
3571 | +2023-07-27 16:37:11,907 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | ||
3572 | +2023-07-27 16:37:12,206 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | ||
3573 | +2023-07-27 16:37:12,494 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | ||
3574 | +2023-07-27 16:37:12,776 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | ||
3575 | +2023-07-27 16:37:13,076 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | ||
3576 | +2023-07-27 16:37:13,384 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | ||
3577 | +2023-07-27 16:37:13,671 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | ||
3578 | +2023-07-27 16:37:14,059 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | ||
3579 | +2023-07-27 16:37:14,352 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | ||
3580 | +2023-07-27 16:37:14,684 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | ||
3581 | +2023-07-27 16:37:14,985 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | ||
3582 | +2023-07-27 16:37:15,290 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | ||
3583 | +2023-07-27 16:37:15,622 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
3584 | +2023-07-27 16:37:15,622 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | ||
3585 | +- 报名审核填写错误 | ||
3586 | ++ success | ||
3587 | +Traceback (most recent call last): | ||
3588 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3589 | + self.assertEqual(expected['msg'], res['msg']) | ||
3590 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3591 | + assertion_func(first, second, msg=msg) | ||
3592 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3593 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3594 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3595 | + raise self.failureException(msg) | ||
3596 | +AssertionError: '报名审核填写错误' != 'success' | ||
3597 | +- 报名审核填写错误 | ||
3598 | ++ success | ||
3599 | + | ||
3600 | +2023-07-27 16:37:16,102 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
3601 | +2023-07-27 16:37:16,103 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
3602 | +- 报名审核填写错误 | ||
3603 | ++ 项目名称已存在 | ||
3604 | +Traceback (most recent call last): | ||
3605 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3606 | + self.assertEqual(expected['msg'], res['msg']) | ||
3607 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3608 | + assertion_func(first, second, msg=msg) | ||
3609 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3610 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3611 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3612 | + raise self.failureException(msg) | ||
3613 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
3614 | +- 报名审核填写错误 | ||
3615 | ++ 项目名称已存在 | ||
3616 | + | ||
3617 | +2023-07-27 16:37:16,624 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
3618 | +2023-07-27 16:37:16,624 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
3619 | +- 报名审核填写错误 | ||
3620 | ++ 项目名称已存在 | ||
3621 | +Traceback (most recent call last): | ||
3622 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3623 | + self.assertEqual(expected['msg'], res['msg']) | ||
3624 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3625 | + assertion_func(first, second, msg=msg) | ||
3626 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3627 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3628 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3629 | + raise self.failureException(msg) | ||
3630 | +AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
3631 | +- 报名审核填写错误 | ||
3632 | ++ 项目名称已存在 | ||
3633 | + | ||
3634 | +2023-07-27 16:37:16,943 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
3635 | +2023-07-27 16:37:16,944 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | ||
3636 | +- 报名审核不能为空 | ||
3637 | ++ success | ||
3638 | +Traceback (most recent call last): | ||
3639 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3640 | + self.assertEqual(expected['msg'], res['msg']) | ||
3641 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3642 | + assertion_func(first, second, msg=msg) | ||
3643 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3644 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3645 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3646 | + raise self.failureException(msg) | ||
3647 | +AssertionError: '报名审核不能为空' != 'success' | ||
3648 | +- 报名审核不能为空 | ||
3649 | ++ success | ||
3650 | + | ||
3651 | +2023-07-27 16:37:17,408 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
3652 | +2023-07-27 16:37:17,408 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
3653 | +- 报名审核不能为空 | ||
3654 | ++ 项目名称已存在 | ||
3655 | +Traceback (most recent call last): | ||
3656 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3657 | + self.assertEqual(expected['msg'], res['msg']) | ||
3658 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3659 | + assertion_func(first, second, msg=msg) | ||
3660 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3661 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3662 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3663 | + raise self.failureException(msg) | ||
3664 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
3665 | +- 报名审核不能为空 | ||
3666 | ++ 项目名称已存在 | ||
3667 | + | ||
3668 | +2023-07-27 16:37:17,852 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
3669 | +2023-07-27 16:37:17,852 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
3670 | +- 报名审核不能为空 | ||
3671 | ++ 项目名称已存在 | ||
3672 | +Traceback (most recent call last): | ||
3673 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3674 | + self.assertEqual(expected['msg'], res['msg']) | ||
3675 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3676 | + assertion_func(first, second, msg=msg) | ||
3677 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3678 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3679 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3680 | + raise self.failureException(msg) | ||
3681 | +AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
3682 | +- 报名审核不能为空 | ||
3683 | ++ 项目名称已存在 | ||
3684 | + | ||
3685 | +2023-07-27 16:37:18,167 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
3686 | +2023-07-27 16:37:18,167 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | ||
3687 | +- 实习计划不匹配 | ||
3688 | ++ success | ||
3689 | +Traceback (most recent call last): | ||
3690 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3691 | + self.assertEqual(expected['msg'], res['msg']) | ||
3692 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3693 | + assertion_func(first, second, msg=msg) | ||
3694 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3695 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3696 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3697 | + raise self.failureException(msg) | ||
3698 | +AssertionError: '实习计划不匹配' != 'success' | ||
3699 | +- 实习计划不匹配 | ||
3700 | ++ success | ||
3701 | + | ||
3702 | +2023-07-27 16:37:18,614 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
3703 | +2023-07-27 16:37:18,614 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
3704 | +- 实习计划不匹配 | ||
3705 | ++ 项目名称已存在 | ||
3706 | +Traceback (most recent call last): | ||
3707 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3708 | + self.assertEqual(expected['msg'], res['msg']) | ||
3709 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3710 | + assertion_func(first, second, msg=msg) | ||
3711 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3712 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3713 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3714 | + raise self.failureException(msg) | ||
3715 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
3716 | +- 实习计划不匹配 | ||
3717 | ++ 项目名称已存在 | ||
3718 | + | ||
3719 | +2023-07-27 16:37:19,098 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
3720 | +2023-07-27 16:37:19,098 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
3721 | +- 实习计划不匹配 | ||
3722 | ++ 项目名称已存在 | ||
3723 | +Traceback (most recent call last): | ||
3724 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3725 | + self.assertEqual(expected['msg'], res['msg']) | ||
3726 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3727 | + assertion_func(first, second, msg=msg) | ||
3728 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3729 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3730 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3731 | + raise self.failureException(msg) | ||
3732 | +AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
3733 | +- 实习计划不匹配 | ||
3734 | ++ 项目名称已存在 | ||
3735 | + | ||
3736 | +2023-07-27 16:37:19,401 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
3737 | +2023-07-27 16:37:19,401 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | ||
3738 | +- 自行填报企业信息不能为空 | ||
3739 | ++ success | ||
3740 | +Traceback (most recent call last): | ||
3741 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3742 | + self.assertEqual(expected['msg'], res['msg']) | ||
3743 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3744 | + assertion_func(first, second, msg=msg) | ||
3745 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3746 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3747 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3748 | + raise self.failureException(msg) | ||
3749 | +AssertionError: '自行填报企业信息不能为空' != 'success' | ||
3750 | +- 自行填报企业信息不能为空 | ||
3751 | ++ success | ||
3752 | + | ||
3753 | +2023-07-27 16:37:19,877 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
3754 | +2023-07-27 16:37:19,878 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
3755 | +- 自行填报企业信息不能为空 | ||
3756 | ++ 项目名称已存在 | ||
3757 | +Traceback (most recent call last): | ||
3758 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3759 | + self.assertEqual(expected['msg'], res['msg']) | ||
3760 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3761 | + assertion_func(first, second, msg=msg) | ||
3762 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3763 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3764 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3765 | + raise self.failureException(msg) | ||
3766 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
3767 | +- 自行填报企业信息不能为空 | ||
3768 | ++ 项目名称已存在 | ||
3769 | + | ||
3770 | +2023-07-27 16:37:20,348 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
3771 | +2023-07-27 16:37:20,348 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
3772 | +- 自行填报企业信息不能为空 | ||
3773 | ++ 项目名称已存在 | ||
3774 | +Traceback (most recent call last): | ||
3775 | + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
3776 | + self.assertEqual(expected['msg'], res['msg']) | ||
3777 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
3778 | + assertion_func(first, second, msg=msg) | ||
3779 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
3780 | + self.fail(self._formatMessage(msg, standardMsg)) | ||
3781 | + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
3782 | + raise self.failureException(msg) | ||
3783 | +AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
3784 | +- 自行填报企业信息不能为空 | ||
3785 | ++ 项目名称已存在 | ||
3786 | + | ||
3787 | +2023-07-27 16:37:20,677 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | ||
3788 | +2023-07-27 16:37:21,009 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | ||
3789 | +2023-07-27 16:37:21,403 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | ||
3790 | +2023-07-27 16:37:21,718 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | ||
3791 | +2023-07-27 16:37:22,091 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | ||
3792 | +2023-07-27 16:37:22,439 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | ||
3793 | +2023-07-27 16:37:22,820 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | ||
3794 | +2023-07-27 16:37:23,200 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | ||
3795 | +2023-07-27 16:37:23,568 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | ||
3796 | +2023-07-27 16:37:25,265 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | ||
3797 | +2023-07-27 16:37:26,479 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | ||
3798 | +2023-07-27 16:37:28,640 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | ||
3799 | +2023-07-27 16:37:29,535 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | ||
3800 | +2023-07-27 16:37:31,288 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | ||
3801 | +2023-07-27 16:37:32,898 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | ||
3802 | +2023-07-27 16:37:34,253 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | ||
3803 | +2023-07-27 16:37:35,866 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-日志标题不能为空,执行通过 | ||
3804 | +2023-07-27 16:37:36,993 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-日志标题不能超过30位,执行通过 | ||
3805 | +2023-07-27 16:37:38,100 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-实习单不存在,执行通过 | ||
3806 | +2023-07-27 16:37:39,556 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-实习单不能为空,执行通过 | ||
3807 | +2023-07-27 16:37:41,044 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-周日志种类不能为空,执行通过 | ||
3808 | +2023-07-27 16:37:42,224 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-周日志时间不能为空,执行通过 | ||
3809 | +2023-07-27 16:37:43,461 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周志标题不能为空,执行通过 | ||
3810 | +2023-07-27 16:37:44,615 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周志标题不能超过30位,执行通过 | ||
3811 | +2023-07-27 16:37:45,741 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-周志)-实习单不存在,执行通过 | ||
3812 | +2023-07-27 16:37:46,844 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-实习单不能为空,执行通过 | ||
3813 | +2023-07-27 16:37:47,990 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周日志种类不能为空,执行通过 | ||
3814 | +2023-07-27 16:37:49,071 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-周日志时间不能为空,执行通过 | ||
3815 | +2023-07-27 16:37:50,260 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-月志标题不能为空,执行通过 | ||
3816 | +2023-07-27 16:37:51,509 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-月志标题不能超过30位,执行通过 | ||
3817 | +2023-07-27 16:37:52,701 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-实习单不存在,执行通过 | ||
3818 | +2023-07-27 16:37:53,791 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-实习单不能为空,执行通过 | ||
3819 | +2023-07-27 16:37:54,970 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-周日志种类不能为空,执行通过 | ||
3820 | +2023-07-27 16:37:56,048 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-周日志时间不能为空,执行通过 | ||
3821 | +2023-07-27 16:37:57,331 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | ||
3822 | +2023-07-27 16:37:58,533 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | ||
3823 | +2023-07-27 16:37:59,814 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | ||
3824 | +2023-07-27 16:38:02,341 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | ||
3825 | +2023-07-27 16:38:04,916 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | ||
3826 | +2023-07-27 16:38:07,765 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | ||
3827 | +2023-07-27 16:38:09,362 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | ||
3828 | +2023-07-27 16:38:10,879 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | ||
3829 | +2023-07-27 16:38:12,248 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 |
此 diff 太大无法显示。
此 diff 太大无法显示。
@@ -12,6 +12,7 @@ import json | @@ -12,6 +12,7 @@ import json | ||
12 | import random | 12 | import random |
13 | import string | 13 | import string |
14 | import radar | 14 | import radar |
15 | +from common.handle_log import HandleLog | ||
15 | 16 | ||
16 | import requests | 17 | import requests |
17 | from common.handle_config import conf | 18 | from common.handle_config import conf |
@@ -81,6 +82,10 @@ class RandomIdentification(object): | @@ -81,6 +82,10 @@ class RandomIdentification(object): | ||
81 | # aaa = radar.random_date("1980", "2022") | 82 | # aaa = radar.random_date("1980", "2022") |
82 | aaa = radar.random_date("1999", "2021") | 83 | aaa = radar.random_date("1999", "2021") |
83 | yea = aaa.year # 生成年 | 84 | yea = aaa.year # 生成年 |
85 | + HandleLog.log.error("---error---aaaa的值:".format(aaa)) | ||
86 | + HandleLog.log.info("---info---aaaa的值:".format(aaa)) | ||
87 | + HandleLog.log.log("---log---aaaa的值:".format(aaa)) | ||
88 | + | ||
84 | # yea = random.randint(1933, int(time.strftime("%Y"))) # 生成年 | 89 | # yea = random.randint(1933, int(time.strftime("%Y"))) # 生成年 |
85 | # 生成月 | 90 | # 生成月 |
86 | mon = random.randint(1, 12) | 91 | mon = random.randint(1, 12) |
请
注册
或
登录
后发表评论