提交 59a74078960100307ba81c6c2c9e815aff80c58c
1 个父辈
63eddd8f
1.实习计划参数修改
2.删除掉实习项目功能 3.实习计划逻辑修改 -1.提交审核实习计划 -2.计划发布
正在显示
30 个修改的文件
包含
280 行增加
和
948 行删除
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <project version="4"> | 2 | <project version="4"> |
3 | <component name="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | - <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.报告优化1"> | 4 | + <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.实习计划参数修改 2.删除掉实习项目功能 3.实习计划逻辑修改 -1.提交审核实习计划 -2.计划发布"> |
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$/conf/config.ini" beforeDir="false" afterPath="$PROJECT_DIR$/conf/config.ini" afterDir="false" /> | 6 | <change beforePath="$PROJECT_DIR$/conf/config.ini" beforeDir="false" afterPath="$PROJECT_DIR$/conf/config.ini" afterDir="false" /> |
7 | + <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_07_apply_audit.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_07_apply_audit.xlsx" afterDir="false" /> | ||
8 | + <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" /> | ||
9 | + <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" /> | ||
10 | + <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" /> | ||
11 | + <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" /> | ||
12 | + <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" /> | ||
13 | + <change beforePath="$PROJECT_DIR$/data/system/test_02_department.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_department.xlsx" afterDir="false" /> | ||
14 | + <change beforePath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" afterDir="false" /> | ||
15 | + <change beforePath="$PROJECT_DIR$/data/system/test_02_term.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_term.xlsx" afterDir="false" /> | ||
16 | + <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" /> | ||
17 | + <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" /> | ||
18 | + <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" /> | ||
19 | + <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" /> | ||
20 | + <change beforePath="$PROJECT_DIR$/data/test_01_login.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/test_01_login.xlsx" afterDir="false" /> | ||
21 | + <change beforePath="$PROJECT_DIR$/logs/log.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/log.log" afterDir="false" /> | ||
22 | + <change beforePath="$PROJECT_DIR$/logs/log.log.2023-03-17" beforeDir="false" /> | ||
23 | + <change beforePath="$PROJECT_DIR$/logs/log.log.2023-03-20" beforeDir="false" /> | ||
24 | + <change beforePath="$PROJECT_DIR$/logs/log.log.2023-03-24" beforeDir="false" /> | ||
25 | + <change beforePath="$PROJECT_DIR$/logs/log.log.2023-03-27" beforeDir="false" /> | ||
26 | + <change beforePath="$PROJECT_DIR$/logs/log.log.2023-03-30" beforeDir="false" /> | ||
27 | + <change beforePath="$PROJECT_DIR$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" /> | ||
28 | + <change beforePath="$PROJECT_DIR$/report/report2.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report2.html" afterDir="false" /> | ||
29 | + <change beforePath="$PROJECT_DIR$/report/report3.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report3.html" afterDir="false" /> | ||
30 | + <change beforePath="$PROJECT_DIR$/report/report4.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report4.html" afterDir="false" /> | ||
31 | + <change beforePath="$PROJECT_DIR$/report/report5.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report5.html" afterDir="false" /> | ||
32 | + <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" /> | ||
33 | + <change beforePath="$PROJECT_DIR$/testcase/test_04_Internship_preparation.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_04_Internship_preparation.py" afterDir="false" /> | ||
34 | + <change beforePath="$PROJECT_DIR$/testcase/test_06_internship_manage.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_06_internship_manage.py" afterDir="false" /> | ||
7 | </list> | 35 | </list> |
8 | <option name="SHOW_DIALOG" value="false" /> | 36 | <option name="SHOW_DIALOG" value="false" /> |
9 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> | 37 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
@@ -59,7 +87,7 @@ | @@ -59,7 +87,7 @@ | ||
59 | <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> | 87 | <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> |
60 | <property name="WebServerToolWindowFactoryState" value="false" /> | 88 | <property name="WebServerToolWindowFactoryState" value="false" /> |
61 | <property name="last_opened_file_path" value="$PROJECT_DIR$/data/Internship_preparation" /> | 89 | <property name="last_opened_file_path" value="$PROJECT_DIR$/data/Internship_preparation" /> |
62 | - <property name="settings.editor.selected.configurable" value="preferences.pluginManager" /> | 90 | + <property name="settings.editor.selected.configurable" value="vcs.Git" /> |
63 | </component> | 91 | </component> |
64 | <component name="RecentsManager"> | 92 | <component name="RecentsManager"> |
65 | <key name="CopyFile.RECENT_KEYS"> | 93 | <key name="CopyFile.RECENT_KEYS"> |
@@ -177,9 +205,9 @@ | @@ -177,9 +205,9 @@ | ||
177 | <recent_temporary> | 205 | <recent_temporary> |
178 | <list> | 206 | <list> |
179 | <item itemvalue="Python.run" /> | 207 | <item itemvalue="Python.run" /> |
208 | + <item itemvalue="Python tests.Unittests in test_04_Internship_preparation.py" /> | ||
180 | <item itemvalue="Python.fixture" /> | 209 | <item itemvalue="Python.fixture" /> |
181 | <item itemvalue="Python tests.Unittests in test_06_internship_manage.py" /> | 210 | <item itemvalue="Python tests.Unittests in test_06_internship_manage.py" /> |
182 | - <item itemvalue="Python tests.Unittests in test_04_Internship_preparation.py" /> | ||
183 | <item itemvalue="Python.handle_token" /> | 211 | <item itemvalue="Python.handle_token" /> |
184 | </list> | 212 | </list> |
185 | </recent_temporary> | 213 | </recent_temporary> |
@@ -270,7 +298,40 @@ | @@ -270,7 +298,40 @@ | ||
270 | <workItem from="1690248894302" duration="5537000" /> | 298 | <workItem from="1690248894302" duration="5537000" /> |
271 | <workItem from="1690335249246" duration="4289000" /> | 299 | <workItem from="1690335249246" duration="4289000" /> |
272 | <workItem from="1690422699671" duration="7635000" /> | 300 | <workItem from="1690422699671" duration="7635000" /> |
273 | - <workItem from="1690507951820" duration="9240000" /> | 301 | + <workItem from="1690507951820" duration="9795000" /> |
302 | + <workItem from="1690768190768" duration="5962000" /> | ||
303 | + <workItem from="1690786539456" duration="1251000" /> | ||
304 | + <workItem from="1690790723486" duration="1017000" /> | ||
305 | + <workItem from="1690854113784" duration="2663000" /> | ||
306 | + <workItem from="1690950623838" duration="1282000" /> | ||
307 | + <workItem from="1691372425786" duration="6941000" /> | ||
308 | + <workItem from="1691458761381" duration="8881000" /> | ||
309 | + <workItem from="1692695433127" duration="3589000" /> | ||
310 | + <workItem from="1692866022298" duration="4847000" /> | ||
311 | + <workItem from="1693186716484" duration="7055000" /> | ||
312 | + <workItem from="1694164069201" duration="671000" /> | ||
313 | + <workItem from="1694655252942" duration="11697000" /> | ||
314 | + <workItem from="1695114046474" duration="4448000" /> | ||
315 | + <workItem from="1695798907207" duration="4708000" /> | ||
316 | + <workItem from="1695866466066" duration="9397000" /> | ||
317 | + <workItem from="1696643008158" duration="259000" /> | ||
318 | + <workItem from="1696644102685" duration="7835000" /> | ||
319 | + <workItem from="1696743001859" duration="5600000" /> | ||
320 | + <workItem from="1696990817456" duration="11425000" /> | ||
321 | + <workItem from="1697081934905" duration="1991000" /> | ||
322 | + <workItem from="1697174322365" duration="343000" /> | ||
323 | + <workItem from="1697420080794" duration="3302000" /> | ||
324 | + <workItem from="1697506350138" duration="13140000" /> | ||
325 | + <workItem from="1697793508815" duration="4256000" /> | ||
326 | + <workItem from="1698024821633" duration="3813000" /> | ||
327 | + <workItem from="1698037948196" duration="7991000" /> | ||
328 | + <workItem from="1698052974010" duration="654000" /> | ||
329 | + <workItem from="1698125295763" duration="9692000" /> | ||
330 | + <workItem from="1698197817552" duration="2168000" /> | ||
331 | + <workItem from="1698217804183" duration="559000" /> | ||
332 | + <workItem from="1698218933338" duration="2417000" /> | ||
333 | + <workItem from="1698284310538" duration="10245000" /> | ||
334 | + <workItem from="1698370288858" duration="2213000" /> | ||
274 | </task> | 335 | </task> |
275 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> | 336 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> |
276 | <created>1671544396986</created> | 337 | <created>1671544396986</created> |
@@ -594,7 +655,14 @@ | @@ -594,7 +655,14 @@ | ||
594 | <option name="project" value="LOCAL" /> | 655 | <option name="project" value="LOCAL" /> |
595 | <updated>1690538946202</updated> | 656 | <updated>1690538946202</updated> |
596 | </task> | 657 | </task> |
597 | - <option name="localTasksCounter" value="47" /> | 658 | + <task id="LOCAL-00047" summary="1.报告优化5"> |
659 | + <created>1690539255816</created> | ||
660 | + <option name="number" value="00047" /> | ||
661 | + <option name="presentableId" value="LOCAL-00047" /> | ||
662 | + <option name="project" value="LOCAL" /> | ||
663 | + <updated>1690539255816</updated> | ||
664 | + </task> | ||
665 | + <option name="localTasksCounter" value="48" /> | ||
598 | <servers /> | 666 | <servers /> |
599 | </component> | 667 | </component> |
600 | <component name="TypeScriptGeneratedFilesManager"> | 668 | <component name="TypeScriptGeneratedFilesManager"> |
@@ -625,7 +693,6 @@ | @@ -625,7 +693,6 @@ | ||
625 | <option name="oldMeFiltersMigrated" value="true" /> | 693 | <option name="oldMeFiltersMigrated" value="true" /> |
626 | </component> | 694 | </component> |
627 | <component name="VcsManagerConfiguration"> | 695 | <component name="VcsManagerConfiguration"> |
628 | - <MESSAGE value="版本:1.0.5 1.md文档更新" /> | ||
629 | <MESSAGE value="版本:1.0.5 1.优化" /> | 696 | <MESSAGE value="版本:1.0.5 1.优化" /> |
630 | <MESSAGE value="版本:1.0.6 1.支持单独模块用例的执行" /> | 697 | <MESSAGE value="版本:1.0.6 1.支持单独模块用例的执行" /> |
631 | <MESSAGE value="版本:1.0.6 1.需求院系名称由倒序改成正序排列,代码优化" /> | 698 | <MESSAGE value="版本:1.0.6 1.需求院系名称由倒序改成正序排列,代码优化" /> |
@@ -648,9 +715,10 @@ | @@ -648,9 +715,10 @@ | ||
648 | <MESSAGE value="1.优化老师身份证信息" /> | 715 | <MESSAGE value="1.优化老师身份证信息" /> |
649 | <MESSAGE value="1.报告名称" /> | 716 | <MESSAGE value="1.报告名称" /> |
650 | <MESSAGE value="1.报告优化" /> | 717 | <MESSAGE value="1.报告优化" /> |
651 | - <MESSAGE value="1.报告优化5" /> | ||
652 | <MESSAGE value="1.报告优化1" /> | 718 | <MESSAGE value="1.报告优化1" /> |
653 | - <option name="LAST_COMMIT_MESSAGE" value="1.报告优化1" /> | 719 | + <MESSAGE value="1.报告优化5" /> |
720 | + <MESSAGE value="1.实习计划参数修改 2.删除掉实习项目功能 3.实习计划逻辑修改 -1.提交审核实习计划 -2.计划发布" /> | ||
721 | + <option name="LAST_COMMIT_MESSAGE" value="1.实习计划参数修改 2.删除掉实习项目功能 3.实习计划逻辑修改 -1.提交审核实习计划 -2.计划发布" /> | ||
654 | </component> | 722 | </component> |
655 | <component name="XDebuggerManager"> | 723 | <component name="XDebuggerManager"> |
656 | <breakpoint-manager> | 724 | <breakpoint-manager> |
@@ -752,17 +820,17 @@ | @@ -752,17 +820,17 @@ | ||
752 | </line-breakpoint> | 820 | </line-breakpoint> |
753 | <line-breakpoint suspend="THREAD" type="python-line"> | 821 | <line-breakpoint suspend="THREAD" type="python-line"> |
754 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | 822 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> |
755 | - <line>274</line> | 823 | + <line>394</line> |
756 | <option name="timeStamp" value="62" /> | 824 | <option name="timeStamp" value="62" /> |
757 | </line-breakpoint> | 825 | </line-breakpoint> |
758 | <line-breakpoint suspend="THREAD" type="python-line"> | 826 | <line-breakpoint suspend="THREAD" type="python-line"> |
759 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | 827 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> |
760 | - <line>249</line> | 828 | + <line>369</line> |
761 | <option name="timeStamp" value="74" /> | 829 | <option name="timeStamp" value="74" /> |
762 | </line-breakpoint> | 830 | </line-breakpoint> |
763 | <line-breakpoint suspend="THREAD" type="python-line"> | 831 | <line-breakpoint suspend="THREAD" type="python-line"> |
764 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | 832 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> |
765 | - <line>322</line> | 833 | + <line>442</line> |
766 | <option name="timeStamp" value="78" /> | 834 | <option name="timeStamp" value="78" /> |
767 | </line-breakpoint> | 835 | </line-breakpoint> |
768 | <line-breakpoint suspend="THREAD" type="python-line"> | 836 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -782,17 +850,17 @@ | @@ -782,17 +850,17 @@ | ||
782 | </line-breakpoint> | 850 | </line-breakpoint> |
783 | <line-breakpoint suspend="THREAD" type="python-line"> | 851 | <line-breakpoint suspend="THREAD" type="python-line"> |
784 | <url>file://$PROJECT_DIR$/run.py</url> | 852 | <url>file://$PROJECT_DIR$/run.py</url> |
785 | - <line>73</line> | 853 | + <line>72</line> |
786 | <option name="timeStamp" value="101" /> | 854 | <option name="timeStamp" value="101" /> |
787 | </line-breakpoint> | 855 | </line-breakpoint> |
788 | <line-breakpoint suspend="THREAD" type="python-line"> | 856 | <line-breakpoint suspend="THREAD" type="python-line"> |
789 | <url>file://$PROJECT_DIR$/run.py</url> | 857 | <url>file://$PROJECT_DIR$/run.py</url> |
790 | - <line>69</line> | 858 | + <line>68</line> |
791 | <option name="timeStamp" value="102" /> | 859 | <option name="timeStamp" value="102" /> |
792 | </line-breakpoint> | 860 | </line-breakpoint> |
793 | <line-breakpoint suspend="THREAD" type="python-line"> | 861 | <line-breakpoint suspend="THREAD" type="python-line"> |
794 | <url>file://$PROJECT_DIR$/run.py</url> | 862 | <url>file://$PROJECT_DIR$/run.py</url> |
795 | - <line>67</line> | 863 | + <line>66</line> |
796 | <option name="timeStamp" value="103" /> | 864 | <option name="timeStamp" value="103" /> |
797 | </line-breakpoint> | 865 | </line-breakpoint> |
798 | <line-breakpoint suspend="THREAD" type="python-line"> | 866 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -817,7 +885,7 @@ | @@ -817,7 +885,7 @@ | ||
817 | </line-breakpoint> | 885 | </line-breakpoint> |
818 | <line-breakpoint suspend="THREAD" type="python-line"> | 886 | <line-breakpoint suspend="THREAD" type="python-line"> |
819 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | 887 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> |
820 | - <line>246</line> | 888 | + <line>366</line> |
821 | <option name="timeStamp" value="121" /> | 889 | <option name="timeStamp" value="121" /> |
822 | </line-breakpoint> | 890 | </line-breakpoint> |
823 | <line-breakpoint suspend="THREAD" type="python-line"> | 891 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -862,7 +930,7 @@ | @@ -862,7 +930,7 @@ | ||
862 | </line-breakpoint> | 930 | </line-breakpoint> |
863 | <line-breakpoint suspend="THREAD" type="python-line"> | 931 | <line-breakpoint suspend="THREAD" type="python-line"> |
864 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | 932 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> |
865 | - <line>247</line> | 933 | + <line>367</line> |
866 | <option name="timeStamp" value="131" /> | 934 | <option name="timeStamp" value="131" /> |
867 | </line-breakpoint> | 935 | </line-breakpoint> |
868 | <line-breakpoint suspend="THREAD" type="python-line"> | 936 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -927,7 +995,7 @@ | @@ -927,7 +995,7 @@ | ||
927 | </line-breakpoint> | 995 | </line-breakpoint> |
928 | <line-breakpoint suspend="THREAD" type="python-line"> | 996 | <line-breakpoint suspend="THREAD" type="python-line"> |
929 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | 997 | <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> |
930 | - <line>323</line> | 998 | + <line>443</line> |
931 | <option name="timeStamp" value="174" /> | 999 | <option name="timeStamp" value="174" /> |
932 | </line-breakpoint> | 1000 | </line-breakpoint> |
933 | <line-breakpoint suspend="THREAD" type="python-line"> | 1001 | <line-breakpoint suspend="THREAD" type="python-line"> |
@@ -1000,6 +1068,16 @@ | @@ -1000,6 +1068,16 @@ | ||
1000 | <line>41</line> | 1068 | <line>41</line> |
1001 | <option name="timeStamp" value="206" /> | 1069 | <option name="timeStamp" value="206" /> |
1002 | </line-breakpoint> | 1070 | </line-breakpoint> |
1071 | + <line-breakpoint enabled="true" suspend="THREAD" type="python-line"> | ||
1072 | + <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | ||
1073 | + <line>206</line> | ||
1074 | + <option name="timeStamp" value="207" /> | ||
1075 | + </line-breakpoint> | ||
1076 | + <line-breakpoint enabled="true" suspend="THREAD" type="python-line"> | ||
1077 | + <url>file://$PROJECT_DIR$/testcase/test_04_Internship_preparation.py</url> | ||
1078 | + <line>231</line> | ||
1079 | + <option name="timeStamp" value="208" /> | ||
1080 | + </line-breakpoint> | ||
1003 | </breakpoints> | 1081 | </breakpoints> |
1004 | <default-breakpoints> | 1082 | <default-breakpoints> |
1005 | <breakpoint type="python-exception"> | 1083 | <breakpoint type="python-exception"> |
@@ -1023,10 +1101,10 @@ | @@ -1023,10 +1101,10 @@ | ||
1023 | <SUITE FILE_PATH="coverage/yxly$fixture.coverage" NAME="fixture Coverage Results" MODIFIED="1690511377401" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tools" /> | 1101 | <SUITE FILE_PATH="coverage/yxly$fixture.coverage" NAME="fixture Coverage Results" MODIFIED="1690511377401" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tools" /> |
1024 | <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" /> | 1102 | <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" /> |
1025 | <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" /> | 1103 | <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" /> |
1026 | - <SUITE FILE_PATH="coverage/yxly$run.coverage" NAME="run Coverage Results" MODIFIED="1690537884101" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> | 1104 | + <SUITE FILE_PATH="coverage/yxly$run.coverage" NAME="run Coverage Results" MODIFIED="1698309598747" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" /> |
1027 | <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" /> | 1105 | <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" /> |
1028 | <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" /> | 1106 | <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" /> |
1029 | - <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" /> | 1107 | + <SUITE FILE_PATH="coverage/yxly$Unittests_in_test_04_Internship_preparation_py.coverage" NAME="Unittests in test_04_Internship_preparation.py Coverage Results" MODIFIED="1698307848288" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> |
1030 | <SUITE FILE_PATH="coverage/yxly$Unittests_in_test_03_teaching_affairs_py.coverage" NAME="Unittests in test_03_teaching_affairs.py Coverage Results" MODIFIED="1672198781295" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> | 1108 | <SUITE FILE_PATH="coverage/yxly$Unittests_in_test_03_teaching_affairs_py.coverage" NAME="Unittests in test_03_teaching_affairs.py Coverage Results" MODIFIED="1672198781295" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> |
1031 | <SUITE FILE_PATH="coverage/yxly$pytest_in_test_02_system_management_py.coverage" NAME="pytest in test_02_system_management.py Coverage Results" MODIFIED="1671617451891" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> | 1109 | <SUITE FILE_PATH="coverage/yxly$pytest_in_test_02_system_management_py.coverage" NAME="pytest in test_02_system_management.py Coverage Results" MODIFIED="1671617451891" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/testcase" /> |
1032 | </component> | 1110 | </component> |
@@ -64,7 +64,7 @@ school_base_jobid = 1635095176676659202 | @@ -64,7 +64,7 @@ school_base_jobid = 1635095176676659202 | ||
64 | ;============================================================================================ | 64 | ;============================================================================================ |
65 | [report] | 65 | [report] |
66 | ;报告名称 | 66 | ;报告名称 |
67 | -filename = report5.html | 67 | +filename = report.html |
68 | ;报告标题 | 68 | ;报告标题 |
69 | title = 优学乐业测试报告 | 69 | title = 优学乐业测试报告 |
70 | ;测试员 | 70 | ;测试员 |
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
此 diff 太大无法显示。
logs/log.log.2023-03-17
已删除
100644 → 0
此 diff 太大无法显示。
logs/log.log.2023-03-20
已删除
100644 → 0
1 | -2023-03-20 16:47:43,584 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | ||
2 | -2023-03-20 16:47:43,830 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | ||
3 | -2023-03-20 16:47:44,052 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | ||
4 | -2023-03-20 16:47:44,382 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | ||
5 | -2023-03-20 16:47:44,596 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | ||
6 | -2023-03-20 16:47:45,535 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | ||
7 | -2023-03-20 16:47:45,891 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | ||
8 | -2023-03-20 16:47:46,180 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | ||
9 | -2023-03-20 16:47:46,458 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | ||
10 | -2023-03-20 16:47:46,730 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | ||
11 | -2023-03-20 16:47:47,016 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | ||
12 | -2023-03-20 16:47:47,289 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | ||
13 | -2023-03-20 16:47:47,594 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | ||
14 | -2023-03-20 16:47:47,922 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | ||
15 | -2023-03-20 16:47:49,719 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | ||
16 | -2023-03-20 16:47:50,759 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | ||
17 | -2023-03-20 16:47:51,843 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | ||
18 | -2023-03-20 16:47:52,982 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | ||
19 | -2023-03-20 16:47:54,060 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | ||
20 | -2023-03-20 16:47:55,087 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | ||
21 | -2023-03-20 16:47:56,282 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | ||
22 | -2023-03-20 16:47:57,361 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | ||
23 | -2023-03-20 16:47:58,383 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | ||
24 | -2023-03-20 16:47:59,443 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | ||
25 | -2023-03-20 16:48:00,520 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | ||
26 | -2023-03-20 16:48:01,738 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | ||
27 | -2023-03-20 16:48:02,528 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | ||
28 | -2023-03-20 16:48:02,835 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | ||
29 | -2023-03-20 16:48:03,135 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | ||
30 | -2023-03-20 16:48:03,414 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | ||
31 | -2023-03-20 16:48:03,703 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | ||
32 | -2023-03-20 16:48:03,991 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | ||
33 | -2023-03-20 16:48:04,268 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | ||
34 | -2023-03-20 16:48:04,546 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | ||
35 | -2023-03-20 16:48:04,859 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | ||
36 | -2023-03-20 16:48:06,597 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | ||
37 | -2023-03-20 16:48:06,961 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | ||
38 | -2023-03-20 16:48:07,246 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | ||
39 | -2023-03-20 16:48:07,563 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | ||
40 | -2023-03-20 16:48:07,871 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | ||
41 | -2023-03-20 16:48:08,187 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师角色不能为空,执行通过 | ||
42 | -2023-03-20 16:48:08,649 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | ||
43 | -2023-03-20 16:48:09,195 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | ||
44 | -2023-03-20 16:48:09,699 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | ||
45 | -2023-03-20 16:48:10,216 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | ||
46 | -2023-03-20 16:48:10,670 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | ||
47 | -2023-03-20 16:48:13,593 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | ||
48 | -2023-03-20 16:48:13,870 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称未填写,执行通过 | ||
49 | -2023-03-20 16:48:14,168 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | ||
50 | -2023-03-20 16:48:14,464 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制未填写,执行通过 | ||
51 | -2023-03-20 16:48:14,733 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | ||
52 | -2023-03-20 16:48:15,036 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | ||
53 | -2023-03-20 16:48:15,320 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | ||
54 | -2023-03-20 16:48:15,613 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | ||
55 | -2023-03-20 16:48:15,903 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | ||
56 | -2023-03-20 16:48:16,221 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | ||
57 | -2023-03-20 16:48:16,537 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | ||
58 | -2023-03-20 16:48:16,847 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | ||
59 | -2023-03-20 16:48:17,147 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | ||
60 | -2023-03-20 16:48:17,507 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | ||
61 | -2023-03-20 16:48:20,304 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | ||
62 | -2023-03-20 16:48:20,591 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能为空,执行通过 | ||
63 | -2023-03-20 16:48:20,897 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能超过30字,执行通过 | ||
64 | -2023-03-20 16:48:21,191 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例实践类型不能为空,执行通过 | ||
65 | -2023-03-20 16:48:21,479 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | ||
66 | -2023-03-20 16:48:21,784 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | ||
67 | -2023-03-20 16:48:22,067 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学分不能为空,执行通过 | ||
68 | -2023-03-20 16:48:22,372 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质不能为空,执行通过 | ||
69 | -2023-03-20 16:48:22,686 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质填写错误,执行通过 | ||
70 | -2023-03-20 16:48:23,224 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学时(周数)不能为空,执行通过 | ||
71 | -2023-03-20 16:48:23,790 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学期不能为空,执行通过 | ||
72 | -2023-03-20 16:48:24,119 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业不能为空,执行通过 | ||
73 | -2023-03-20 16:48:24,433 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业填写错误,执行通过 | ||
74 | -2023-03-20 16:48:24,801 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | ||
75 | -2023-03-20 16:48:29,179 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | ||
76 | -2023-03-20 16:48:29,502 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生姓名未填写失败,执行通过 | ||
77 | -2023-03-20 16:48:29,825 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生学号未填写失败,执行通过 | ||
78 | -2023-03-20 16:48:30,320 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例手机号未填写,添加成功,执行通过 | ||
79 | -2023-03-20 16:48:31,050 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例入学年份未填写,添加失败,执行通过 | ||
80 | -2023-03-20 16:48:31,373 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例班级未填写,添加失败,执行通过 | ||
81 | -2023-03-20 16:48:31,732 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | ||
82 | -2023-03-20 16:48:32,027 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | ||
83 | -2023-03-20 16:48:32,348 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | ||
84 | -2023-03-20 16:48:32,721 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例性别未填写,添加成功,执行通过 | ||
85 | -2023-03-20 16:48:33,095 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学籍状态未填写,添加成功,执行通过 | ||
86 | -2023-03-20 16:48:33,458 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例培养方向未填写,添加成功,执行通过 | ||
87 | -2023-03-20 16:48:33,818 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例其他-备注未填写,添加成功,执行通过 | ||
88 | -2023-03-20 16:48:34,111 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例院系ID未填写,添加失败,执行通过 | ||
89 | -2023-03-20 16:48:34,428 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例专业ID未填写添加失败,执行通过 | ||
90 | -2023-03-20 16:48:34,814 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | ||
91 | -2023-03-20 16:48:41,184 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | ||
92 | -2023-03-20 16:48:41,526 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | ||
93 | -2023-03-20 16:48:41,857 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | ||
94 | -2023-03-20 16:48:42,141 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | ||
95 | -2023-03-20 16:48:42,633 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | ||
96 | -2023-03-20 16:48:42,993 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不能为空,执行通过 | ||
97 | -2023-03-20 16:48:43,392 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不存在,执行通过 | ||
98 | -2023-03-20 16:48:43,728 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | ||
99 | -2023-03-20 16:48:44,082 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | ||
100 | -2023-03-20 16:48:44,428 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例负责老师为空,添加成功,执行通过 | ||
101 | -2023-03-20 16:48:44,805 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例教师不存在,添加失败,执行通过 | ||
102 | -2023-03-20 16:48:45,183 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | ||
103 | -2023-03-20 16:48:45,494 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | ||
104 | -2023-03-20 16:48:45,865 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | ||
105 | -2023-03-20 16:48:46,186 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | ||
106 | -2023-03-20 16:48:46,508 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | ||
107 | -2023-03-20 16:48:46,876 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | ||
108 | -2023-03-20 16:48:47,244 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | ||
109 | -2023-03-20 16:48:47,536 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | ||
110 | -2023-03-20 16:48:47,850 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | ||
111 | -2023-03-20 16:48:48,205 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | ||
112 | -2023-03-20 16:48:48,571 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | ||
113 | -2023-03-20 16:48:48,965 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | ||
114 | -2023-03-20 16:48:49,287 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | ||
115 | -2023-03-20 16:48:49,639 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系填写错误,执行通过 | ||
116 | -2023-03-20 16:48:50,024 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | ||
117 | -2023-03-20 16:48:50,417 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写错误,执行通过 | ||
118 | -2023-03-20 16:48:50,749 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | ||
119 | -2023-03-20 16:48:51,088 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | ||
120 | -2023-03-20 16:48:51,474 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | ||
121 | -2023-03-20 16:48:51,869 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | ||
122 | -2023-03-20 16:48:53,488 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | ||
123 | -2023-03-20 16:48:56,536 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | ||
124 | -2023-03-20 16:48:56,968 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | ||
125 | -2023-03-20 16:48:57,368 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | ||
126 | -2023-03-20 16:48:57,795 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | ||
127 | -2023-03-20 16:48:58,090 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | ||
128 | -2023-03-20 16:48:58,446 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | ||
129 | -2023-03-20 16:48:58,788 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | ||
130 | -2023-03-20 16:48:59,117 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | ||
131 | -2023-03-20 16:48:59,429 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | ||
132 | -2023-03-20 16:48:59,744 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | ||
133 | -2023-03-20 16:49:00,151 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | ||
134 | -2023-03-20 16:49:00,465 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | ||
135 | -2023-03-20 16:49:00,792 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | ||
136 | -2023-03-20 16:49:01,127 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | ||
137 | -2023-03-20 16:49:01,445 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | ||
138 | -2023-03-20 16:49:01,808 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
139 | -2023-03-20 16:49:01,808 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | ||
140 | -- 报名审核填写错误 | ||
141 | -+ success | ||
142 | -Traceback (most recent call last): | ||
143 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
144 | - self.assertEqual(expected['msg'], res['msg']) | ||
145 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
146 | - assertion_func(first, second, msg=msg) | ||
147 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
148 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
149 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
150 | - raise self.failureException(msg) | ||
151 | -AssertionError: '报名审核填写错误' != 'success' | ||
152 | -- 报名审核填写错误 | ||
153 | -+ success | ||
154 | - | ||
155 | -2023-03-20 16:49:02,277 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
156 | -2023-03-20 16:49:02,278 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
157 | -- 报名审核填写错误 | ||
158 | -+ 项目名称已存在 | ||
159 | -Traceback (most recent call last): | ||
160 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
161 | - self.assertEqual(expected['msg'], res['msg']) | ||
162 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
163 | - assertion_func(first, second, msg=msg) | ||
164 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
165 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
166 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
167 | - raise self.failureException(msg) | ||
168 | -AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
169 | -- 报名审核填写错误 | ||
170 | -+ 项目名称已存在 | ||
171 | - | ||
172 | -2023-03-20 16:49:02,742 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
173 | -2023-03-20 16:49:02,742 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
174 | -- 报名审核填写错误 | ||
175 | -+ 项目名称已存在 | ||
176 | -Traceback (most recent call last): | ||
177 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
178 | - self.assertEqual(expected['msg'], res['msg']) | ||
179 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
180 | - assertion_func(first, second, msg=msg) | ||
181 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
182 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
183 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
184 | - raise self.failureException(msg) | ||
185 | -AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
186 | -- 报名审核填写错误 | ||
187 | -+ 项目名称已存在 | ||
188 | - | ||
189 | -2023-03-20 16:49:03,206 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
190 | -2023-03-20 16:49:03,206 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
191 | -- 报名审核填写错误 | ||
192 | -+ 项目名称已存在 | ||
193 | -Traceback (most recent call last): | ||
194 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
195 | - self.assertEqual(expected['msg'], res['msg']) | ||
196 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
197 | - assertion_func(first, second, msg=msg) | ||
198 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
199 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
200 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
201 | - raise self.failureException(msg) | ||
202 | -AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
203 | -- 报名审核填写错误 | ||
204 | -+ 项目名称已存在 | ||
205 | - | ||
206 | -2023-03-20 16:49:03,576 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
207 | -2023-03-20 16:49:03,576 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | ||
208 | -- 报名审核不能为空 | ||
209 | -+ success | ||
210 | -Traceback (most recent call last): | ||
211 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
212 | - self.assertEqual(expected['msg'], res['msg']) | ||
213 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
214 | - assertion_func(first, second, msg=msg) | ||
215 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
216 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
217 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
218 | - raise self.failureException(msg) | ||
219 | -AssertionError: '报名审核不能为空' != 'success' | ||
220 | -- 报名审核不能为空 | ||
221 | -+ success | ||
222 | - | ||
223 | -2023-03-20 16:49:04,058 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
224 | -2023-03-20 16:49:04,058 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
225 | -- 报名审核不能为空 | ||
226 | -+ 项目名称已存在 | ||
227 | -Traceback (most recent call last): | ||
228 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
229 | - self.assertEqual(expected['msg'], res['msg']) | ||
230 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
231 | - assertion_func(first, second, msg=msg) | ||
232 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
233 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
234 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
235 | - raise self.failureException(msg) | ||
236 | -AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
237 | -- 报名审核不能为空 | ||
238 | -+ 项目名称已存在 | ||
239 | - | ||
240 | -2023-03-20 16:49:04,536 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
241 | -2023-03-20 16:49:04,536 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
242 | -- 报名审核不能为空 | ||
243 | -+ 项目名称已存在 | ||
244 | -Traceback (most recent call last): | ||
245 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
246 | - self.assertEqual(expected['msg'], res['msg']) | ||
247 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
248 | - assertion_func(first, second, msg=msg) | ||
249 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
250 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
251 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
252 | - raise self.failureException(msg) | ||
253 | -AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
254 | -- 报名审核不能为空 | ||
255 | -+ 项目名称已存在 | ||
256 | - | ||
257 | -2023-03-20 16:49:05,020 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
258 | -2023-03-20 16:49:05,021 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
259 | -- 报名审核不能为空 | ||
260 | -+ 项目名称已存在 | ||
261 | -Traceback (most recent call last): | ||
262 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
263 | - self.assertEqual(expected['msg'], res['msg']) | ||
264 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
265 | - assertion_func(first, second, msg=msg) | ||
266 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
267 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
268 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
269 | - raise self.failureException(msg) | ||
270 | -AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
271 | -- 报名审核不能为空 | ||
272 | -+ 项目名称已存在 | ||
273 | - | ||
274 | -2023-03-20 16:49:05,374 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
275 | -2023-03-20 16:49:05,375 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | ||
276 | -- 实习计划不匹配 | ||
277 | -+ success | ||
278 | -Traceback (most recent call last): | ||
279 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
280 | - self.assertEqual(expected['msg'], res['msg']) | ||
281 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
282 | - assertion_func(first, second, msg=msg) | ||
283 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
284 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
285 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
286 | - raise self.failureException(msg) | ||
287 | -AssertionError: '实习计划不匹配' != 'success' | ||
288 | -- 实习计划不匹配 | ||
289 | -+ success | ||
290 | - | ||
291 | -2023-03-20 16:49:05,846 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
292 | -2023-03-20 16:49:05,846 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
293 | -- 实习计划不匹配 | ||
294 | -+ 项目名称已存在 | ||
295 | -Traceback (most recent call last): | ||
296 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
297 | - self.assertEqual(expected['msg'], res['msg']) | ||
298 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
299 | - assertion_func(first, second, msg=msg) | ||
300 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
301 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
302 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
303 | - raise self.failureException(msg) | ||
304 | -AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
305 | -- 实习计划不匹配 | ||
306 | -+ 项目名称已存在 | ||
307 | - | ||
308 | -2023-03-20 16:49:06,313 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
309 | -2023-03-20 16:49:06,313 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
310 | -- 实习计划不匹配 | ||
311 | -+ 项目名称已存在 | ||
312 | -Traceback (most recent call last): | ||
313 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
314 | - self.assertEqual(expected['msg'], res['msg']) | ||
315 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
316 | - assertion_func(first, second, msg=msg) | ||
317 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
318 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
319 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
320 | - raise self.failureException(msg) | ||
321 | -AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
322 | -- 实习计划不匹配 | ||
323 | -+ 项目名称已存在 | ||
324 | - | ||
325 | -2023-03-20 16:49:06,819 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
326 | -2023-03-20 16:49:06,820 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
327 | -- 实习计划不匹配 | ||
328 | -+ 项目名称已存在 | ||
329 | -Traceback (most recent call last): | ||
330 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
331 | - self.assertEqual(expected['msg'], res['msg']) | ||
332 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
333 | - assertion_func(first, second, msg=msg) | ||
334 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
335 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
336 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
337 | - raise self.failureException(msg) | ||
338 | -AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
339 | -- 实习计划不匹配 | ||
340 | -+ 项目名称已存在 | ||
341 | - | ||
342 | -2023-03-20 16:49:07,160 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
343 | -2023-03-20 16:49:07,160 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | ||
344 | -- 自行填报企业信息不能为空 | ||
345 | -+ success | ||
346 | -Traceback (most recent call last): | ||
347 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
348 | - self.assertEqual(expected['msg'], res['msg']) | ||
349 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
350 | - assertion_func(first, second, msg=msg) | ||
351 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
352 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
353 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
354 | - raise self.failureException(msg) | ||
355 | -AssertionError: '自行填报企业信息不能为空' != 'success' | ||
356 | -- 自行填报企业信息不能为空 | ||
357 | -+ success | ||
358 | - | ||
359 | -2023-03-20 16:49:07,638 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
360 | -2023-03-20 16:49:07,638 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
361 | -- 自行填报企业信息不能为空 | ||
362 | -+ 项目名称已存在 | ||
363 | -Traceback (most recent call last): | ||
364 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
365 | - self.assertEqual(expected['msg'], res['msg']) | ||
366 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
367 | - assertion_func(first, second, msg=msg) | ||
368 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
369 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
370 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
371 | - raise self.failureException(msg) | ||
372 | -AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
373 | -- 自行填报企业信息不能为空 | ||
374 | -+ 项目名称已存在 | ||
375 | - | ||
376 | -2023-03-20 16:49:08,141 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
377 | -2023-03-20 16:49:08,141 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
378 | -- 自行填报企业信息不能为空 | ||
379 | -+ 项目名称已存在 | ||
380 | -Traceback (most recent call last): | ||
381 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
382 | - self.assertEqual(expected['msg'], res['msg']) | ||
383 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
384 | - assertion_func(first, second, msg=msg) | ||
385 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
386 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
387 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
388 | - raise self.failureException(msg) | ||
389 | -AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
390 | -- 自行填报企业信息不能为空 | ||
391 | -+ 项目名称已存在 | ||
392 | - | ||
393 | -2023-03-20 16:49:08,705 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
394 | -2023-03-20 16:49:08,705 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
395 | -- 自行填报企业信息不能为空 | ||
396 | -+ 项目名称已存在 | ||
397 | -Traceback (most recent call last): | ||
398 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
399 | - self.assertEqual(expected['msg'], res['msg']) | ||
400 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
401 | - assertion_func(first, second, msg=msg) | ||
402 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
403 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
404 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
405 | - raise self.failureException(msg) | ||
406 | -AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
407 | -- 自行填报企业信息不能为空 | ||
408 | -+ 项目名称已存在 | ||
409 | - | ||
410 | -2023-03-20 16:49:09,107 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | ||
411 | -2023-03-20 16:49:09,491 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | ||
412 | -2023-03-20 16:49:09,870 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | ||
413 | -2023-03-20 16:49:10,210 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | ||
414 | -2023-03-20 16:49:10,599 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | ||
415 | -2023-03-20 16:49:11,038 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | ||
416 | -2023-03-20 16:49:11,458 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | ||
417 | -2023-03-20 16:49:11,933 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | ||
418 | -2023-03-20 16:49:12,428 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | ||
419 | -2023-03-20 16:49:14,170 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | ||
420 | -2023-03-20 16:49:15,865 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | ||
421 | -2023-03-20 16:49:18,833 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | ||
422 | -2023-03-20 16:49:19,859 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | ||
423 | -2023-03-20 16:49:21,871 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | ||
424 | -2023-03-20 16:49:23,851 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | ||
425 | -2023-03-20 16:49:25,256 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | ||
426 | -2023-03-20 16:49:27,019 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | ||
427 | -2023-03-20 16:49:28,391 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | ||
428 | -2023-03-20 16:49:29,935 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | ||
429 | -2023-03-20 16:49:32,664 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | ||
430 | -2023-03-20 16:49:34,868 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | ||
431 | -2023-03-20 16:49:37,124 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | ||
432 | -2023-03-20 16:49:39,568 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | ||
433 | -2023-03-20 16:49:41,232 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | ||
434 | -2023-03-20 16:49:42,527 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 | ||
435 | -2023-03-20 18:01:12,422 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过 | ||
436 | -2023-03-20 18:01:12,678 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过 | ||
437 | -2023-03-20 18:01:12,918 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过 | ||
438 | -2023-03-20 18:01:13,231 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过 | ||
439 | -2023-03-20 18:01:13,430 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过 | ||
440 | -2023-03-20 18:01:14,064 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | ||
441 | -2023-03-20 18:01:14,345 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称未填写,执行通过 | ||
442 | -2023-03-20 18:01:14,628 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称重复,执行通过 | ||
443 | -2023-03-20 18:01:14,963 - [test_02_system_management.py-->line:95] - INFO: 用例院系名称长度不可大于30位,执行通过 | ||
444 | -2023-03-20 18:01:15,264 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码重复,执行通过 | ||
445 | -2023-03-20 18:01:15,563 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码不能为空,执行通过 | ||
446 | -2023-03-20 18:01:15,869 - [test_02_system_management.py-->line:95] - INFO: 用例院系代码长度不可大于30,执行通过 | ||
447 | -2023-03-20 18:01:16,194 - [test_02_system_management.py-->line:95] - INFO: 用例新增院系成功,执行通过 | ||
448 | -2023-03-20 18:01:16,536 - [test_02_system_management.py-->line:135] - INFO: 用例查看院系列表,执行通过 | ||
449 | -2023-03-20 18:01:18,188 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | ||
450 | -2023-03-20 18:01:19,407 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系未填写,执行通过 | ||
451 | -2023-03-20 18:01:20,618 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,院系不存在,执行通过 | ||
452 | -2023-03-20 18:01:21,734 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称未填写,执行通过 | ||
453 | -2023-03-20 18:01:22,869 - [test_02_system_management.py-->line:209] - INFO: 用例专业名称长度不能大于30,执行通过 | ||
454 | -2023-03-20 18:01:24,007 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业名称重复,执行通过 | ||
455 | -2023-03-20 18:01:25,153 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码重复,执行通过 | ||
456 | -2023-03-20 18:01:26,286 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码未填写,执行通过 | ||
457 | -2023-03-20 18:01:27,538 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过 | ||
458 | -2023-03-20 18:01:28,656 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类未填写,执行通过 | ||
459 | -2023-03-20 18:01:29,730 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业失败,学科门类填写错误,执行通过 | ||
460 | -2023-03-20 18:01:30,792 - [test_02_system_management.py-->line:209] - INFO: 用例新增专业成功,执行通过 | ||
461 | -2023-03-20 18:01:31,438 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | ||
462 | -2023-03-20 18:01:31,708 - [test_02_system_management.py-->line:275] - INFO: 用例学年名称不可超过30字,执行通过 | ||
463 | -2023-03-20 18:01:32,006 - [test_02_system_management.py-->line:275] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过 | ||
464 | -2023-03-20 18:01:32,296 - [test_02_system_management.py-->line:275] - INFO: 用例学年未填写,执行通过 | ||
465 | -2023-03-20 18:01:32,590 - [test_02_system_management.py-->line:275] - INFO: 用例学期未填写,执行通过 | ||
466 | -2023-03-20 18:01:32,879 - [test_02_system_management.py-->line:275] - INFO: 用例学期开始时间未填写,执行通过 | ||
467 | -2023-03-20 18:01:33,168 - [test_02_system_management.py-->line:275] - INFO: 用例学期结束时间未填写,执行通过 | ||
468 | -2023-03-20 18:01:33,453 - [test_02_system_management.py-->line:275] - INFO: 用例学期不可超过5个学期,执行通过 | ||
469 | -2023-03-20 18:01:33,753 - [test_02_system_management.py-->line:275] - INFO: 用例新增学年学期成功,执行通过 | ||
470 | -2023-03-20 18:01:35,433 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | ||
471 | -2023-03-20 18:01:35,751 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师姓名不能为空,执行通过 | ||
472 | -2023-03-20 18:01:36,029 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师手机号不能为空,执行通过 | ||
473 | -2023-03-20 18:01:36,388 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件类型不能为空,执行通过 | ||
474 | -2023-03-20 18:01:36,698 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师证件号码不能为空,执行通过 | ||
475 | -2023-03-20 18:01:36,999 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师角色不能为空,执行通过 | ||
476 | -2023-03-20 18:01:37,458 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师性别为空,添加成功,执行通过 | ||
477 | -2023-03-20 18:01:37,927 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师入职时间为空,添加成功,执行通过 | ||
478 | -2023-03-20 18:01:38,432 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师邮箱为空,添加成功,执行通过 | ||
479 | -2023-03-20 18:01:38,895 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例教师工号为空,添加成功,执行通过 | ||
480 | -2023-03-20 18:01:39,367 - [test_03_teaching_affairs.py-->line:108] - INFO: 用例新增教师,执行通过 | ||
481 | -2023-03-20 18:01:42,555 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | ||
482 | -2023-03-20 18:01:42,865 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称未填写,执行通过 | ||
483 | -2023-03-20 18:01:43,177 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例班级名称已存在,执行通过 | ||
484 | -2023-03-20 18:01:43,493 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制未填写,执行通过 | ||
485 | -2023-03-20 18:01:43,819 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | ||
486 | -2023-03-20 18:01:44,256 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例学制填写错误,最多为10年,执行通过 | ||
487 | -2023-03-20 18:01:44,749 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例入学年份未填写,执行通过 | ||
488 | -2023-03-20 18:01:45,272 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业未填写,执行通过 | ||
489 | -2023-03-20 18:01:45,606 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例专业填写错误,执行通过 | ||
490 | -2023-03-20 18:01:45,967 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系可以为空,执行通过 | ||
491 | -2023-03-20 18:01:46,298 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例院系下没有该专业,执行通过 | ||
492 | -2023-03-20 18:01:46,621 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师未填写,添加成功,执行通过 | ||
493 | -2023-03-20 18:01:46,978 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例教师填写错误,执行通过 | ||
494 | -2023-03-20 18:01:47,389 - [test_03_teaching_affairs.py-->line:196] - INFO: 用例新增班级,执行通过 | ||
495 | -2023-03-20 18:01:50,288 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | ||
496 | -2023-03-20 18:01:50,582 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能为空,执行通过 | ||
497 | -2023-03-20 18:01:50,888 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例课程名称不能超过30字,执行通过 | ||
498 | -2023-03-20 18:01:51,191 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例实践类型不能为空,执行通过 | ||
499 | -2023-03-20 18:01:51,477 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | ||
500 | -2023-03-20 18:01:51,786 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例院系不能为空,执行通过 | ||
501 | -2023-03-20 18:01:52,091 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学分不能为空,执行通过 | ||
502 | -2023-03-20 18:01:52,394 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质不能为空,执行通过 | ||
503 | -2023-03-20 18:01:52,694 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例修读性质填写错误,执行通过 | ||
504 | -2023-03-20 18:01:53,035 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学时(周数)不能为空,执行通过 | ||
505 | -2023-03-20 18:01:53,381 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例学期不能为空,执行通过 | ||
506 | -2023-03-20 18:01:53,684 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业不能为空,执行通过 | ||
507 | -2023-03-20 18:01:53,982 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例专业填写错误,执行通过 | ||
508 | -2023-03-20 18:01:54,304 - [test_03_teaching_affairs.py-->line:285] - INFO: 用例新增课程,执行通过 | ||
509 | -2023-03-20 18:01:58,435 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | ||
510 | -2023-03-20 18:01:58,750 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生姓名未填写失败,执行通过 | ||
511 | -2023-03-20 18:01:59,055 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学生学号未填写失败,执行通过 | ||
512 | -2023-03-20 18:01:59,417 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例手机号未填写,添加成功,执行通过 | ||
513 | -2023-03-20 18:01:59,768 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例入学年份未填写,添加失败,执行通过 | ||
514 | -2023-03-20 18:02:00,078 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例班级未填写,添加失败,执行通过 | ||
515 | -2023-03-20 18:02:00,447 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型和证件号码都没填写,添加成功,执行通过 | ||
516 | -2023-03-20 18:02:00,924 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型未填,证件号码填写,添加失败,执行通过 | ||
517 | -2023-03-20 18:02:01,258 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例证件类型填写,证件号码未填写,添加失败,执行通过 | ||
518 | -2023-03-20 18:02:01,701 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例性别未填写,添加成功,执行通过 | ||
519 | -2023-03-20 18:02:02,182 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例学籍状态未填写,添加成功,执行通过 | ||
520 | -2023-03-20 18:02:02,640 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例培养方向未填写,添加成功,执行通过 | ||
521 | -2023-03-20 18:02:03,037 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例其他-备注未填写,添加成功,执行通过 | ||
522 | -2023-03-20 18:02:03,398 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例院系ID未填写,添加失败,执行通过 | ||
523 | -2023-03-20 18:02:03,694 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例专业ID未填写添加失败,执行通过 | ||
524 | -2023-03-20 18:02:04,084 - [test_03_teaching_affairs.py-->line:391] - INFO: 用例新增学生成功,执行通过 | ||
525 | -2023-03-20 18:02:09,980 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | ||
526 | -2023-03-20 18:02:10,295 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能为空,执行通过 | ||
527 | -2023-03-20 18:02:10,610 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划名称不能大于30位,执行通过 | ||
528 | -2023-03-20 18:02:10,922 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不能为空,执行通过 | ||
529 | -2023-03-20 18:02:11,391 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例课程不存在,执行通过 | ||
530 | -2023-03-20 18:02:11,880 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不能为空,执行通过 | ||
531 | -2023-03-20 18:02:12,262 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例班级不存在,执行通过 | ||
532 | -2023-03-20 18:02:12,647 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划开始时间不能为空,执行通过 | ||
533 | -2023-03-20 18:02:13,031 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例计划结束时间不能为空,执行通过 | ||
534 | -2023-03-20 18:02:13,427 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例负责老师为空,添加成功,执行通过 | ||
535 | -2023-03-20 18:02:13,797 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例教师不存在,添加失败,执行通过 | ||
536 | -2023-03-20 18:02:14,185 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的为空,添加成功,执行通过 | ||
537 | -2023-03-20 18:02:14,566 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习目的不能超过100位,执行通过 | ||
538 | -2023-03-20 18:02:14,960 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)未填写,添加成功,执行通过 | ||
539 | -2023-03-20 18:02:15,268 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例其他(备注)长度不能超过200位,执行通过 | ||
540 | -2023-03-20 18:02:15,638 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式不能为空,执行通过 | ||
541 | -2023-03-20 18:02:15,996 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为集中,添加成功--集中,执行通过 | ||
542 | -2023-03-20 18:02:16,352 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习形式为自主,添加成功--自主,执行通过 | ||
543 | -2023-03-20 18:02:16,676 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交开始时间不能为空,执行通过 | ||
544 | -2023-03-20 18:02:17,023 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习报告提交结束时间不能为空,执行通过 | ||
545 | -2023-03-20 18:02:17,510 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例报告模块路径为空,添加成功,执行通过 | ||
546 | -2023-03-20 18:02:18,010 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容为空,添加成功,执行通过 | ||
547 | -2023-03-20 18:02:18,389 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例实习内容长度不能大于500位,执行通过 | ||
548 | -2023-03-20 18:02:18,757 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系不能为空,执行通过 | ||
549 | -2023-03-20 18:02:19,108 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例院系填写错误,执行通过 | ||
550 | -2023-03-20 18:02:19,531 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写为空,添加成功,执行通过 | ||
551 | -2023-03-20 18:02:19,903 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例专业填写错误,执行通过 | ||
552 | -2023-03-20 18:02:20,285 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期不能为空,执行通过 | ||
553 | -2023-03-20 18:02:20,673 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例学期填写错误,执行通过 | ||
554 | -2023-03-20 18:02:21,112 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例新增计划成功,执行通过 | ||
555 | -2023-03-20 18:02:21,568 - [test_04_Internship_preparation.py-->line:146] - INFO: 用例创建计划,方便使用的数据,自主,执行通过 | ||
556 | -2023-03-20 18:02:23,088 - [test_04_Internship_preparation.py-->line:209] - INFO: 用例发布计划,执行通过 | ||
557 | -2023-03-20 18:02:26,172 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | ||
558 | -2023-03-20 18:02:26,625 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-不允许自行填报企业信息),执行通过 | ||
559 | -2023-03-20 18:02:27,055 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-允许自行填报企业信息),执行通过 | ||
560 | -2023-03-20 18:02:27,501 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息),执行通过 | ||
561 | -2023-03-20 18:02:27,806 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能为空,执行通过 | ||
562 | -2023-03-20 18:02:28,157 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目名称不能大于30位,执行通过 | ||
563 | -2023-03-20 18:02:28,483 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不能为空,执行通过 | ||
564 | -2023-03-20 18:02:28,824 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习计划不匹配,执行通过 | ||
565 | -2023-03-20 18:02:29,149 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式不能为空,执行通过 | ||
566 | -2023-03-20 18:02:29,492 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习形式填写错误,执行通过 | ||
567 | -2023-03-20 18:02:29,903 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不填写,添加成功,执行通过 | ||
568 | -2023-03-20 18:02:30,212 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习要求不能大于500,执行通过 | ||
569 | -2023-03-20 18:02:30,535 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习开始时间不能为空,执行通过 | ||
570 | -2023-03-20 18:02:30,843 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例实习结束时间不能为空,执行通过 | ||
571 | -2023-03-20 18:02:31,152 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例项目开始日期需早于项目结束日期,执行通过 | ||
572 | -2023-03-20 18:02:31,501 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
573 | -2023-03-20 18:02:31,501 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != 'success' | ||
574 | -- 报名审核填写错误 | ||
575 | -+ success | ||
576 | -Traceback (most recent call last): | ||
577 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
578 | - self.assertEqual(expected['msg'], res['msg']) | ||
579 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
580 | - assertion_func(first, second, msg=msg) | ||
581 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
582 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
583 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
584 | - raise self.failureException(msg) | ||
585 | -AssertionError: '报名审核填写错误' != 'success' | ||
586 | -- 报名审核填写错误 | ||
587 | -+ success | ||
588 | - | ||
589 | -2023-03-20 18:02:31,960 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
590 | -2023-03-20 18:02:31,960 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
591 | -- 报名审核填写错误 | ||
592 | -+ 项目名称已存在 | ||
593 | -Traceback (most recent call last): | ||
594 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
595 | - self.assertEqual(expected['msg'], res['msg']) | ||
596 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
597 | - assertion_func(first, second, msg=msg) | ||
598 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
599 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
600 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
601 | - raise self.failureException(msg) | ||
602 | -AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
603 | -- 报名审核填写错误 | ||
604 | -+ 项目名称已存在 | ||
605 | - | ||
606 | -2023-03-20 18:02:32,464 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
607 | -2023-03-20 18:02:32,464 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
608 | -- 报名审核填写错误 | ||
609 | -+ 项目名称已存在 | ||
610 | -Traceback (most recent call last): | ||
611 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
612 | - self.assertEqual(expected['msg'], res['msg']) | ||
613 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
614 | - assertion_func(first, second, msg=msg) | ||
615 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
616 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
617 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
618 | - raise self.failureException(msg) | ||
619 | -AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
620 | -- 报名审核填写错误 | ||
621 | -+ 项目名称已存在 | ||
622 | - | ||
623 | -2023-03-20 18:02:32,933 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
624 | -2023-03-20 18:02:32,933 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核填写错误' != '项目名称已存在' | ||
625 | -- 报名审核填写错误 | ||
626 | -+ 项目名称已存在 | ||
627 | -Traceback (most recent call last): | ||
628 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
629 | - self.assertEqual(expected['msg'], res['msg']) | ||
630 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
631 | - assertion_func(first, second, msg=msg) | ||
632 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
633 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
634 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
635 | - raise self.failureException(msg) | ||
636 | -AssertionError: '报名审核填写错误' != '项目名称已存在' | ||
637 | -- 报名审核填写错误 | ||
638 | -+ 项目名称已存在 | ||
639 | - | ||
640 | -2023-03-20 18:02:33,290 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
641 | -2023-03-20 18:02:33,291 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != 'success' | ||
642 | -- 报名审核不能为空 | ||
643 | -+ success | ||
644 | -Traceback (most recent call last): | ||
645 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
646 | - self.assertEqual(expected['msg'], res['msg']) | ||
647 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
648 | - assertion_func(first, second, msg=msg) | ||
649 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
650 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
651 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
652 | - raise self.failureException(msg) | ||
653 | -AssertionError: '报名审核不能为空' != 'success' | ||
654 | -- 报名审核不能为空 | ||
655 | -+ success | ||
656 | - | ||
657 | -2023-03-20 18:02:33,740 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
658 | -2023-03-20 18:02:33,741 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
659 | -- 报名审核不能为空 | ||
660 | -+ 项目名称已存在 | ||
661 | -Traceback (most recent call last): | ||
662 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
663 | - self.assertEqual(expected['msg'], res['msg']) | ||
664 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
665 | - assertion_func(first, second, msg=msg) | ||
666 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
667 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
668 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
669 | - raise self.failureException(msg) | ||
670 | -AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
671 | -- 报名审核不能为空 | ||
672 | -+ 项目名称已存在 | ||
673 | - | ||
674 | -2023-03-20 18:02:34,217 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
675 | -2023-03-20 18:02:34,217 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
676 | -- 报名审核不能为空 | ||
677 | -+ 项目名称已存在 | ||
678 | -Traceback (most recent call last): | ||
679 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
680 | - self.assertEqual(expected['msg'], res['msg']) | ||
681 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
682 | - assertion_func(first, second, msg=msg) | ||
683 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
684 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
685 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
686 | - raise self.failureException(msg) | ||
687 | -AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
688 | -- 报名审核不能为空 | ||
689 | -+ 项目名称已存在 | ||
690 | - | ||
691 | -2023-03-20 18:02:34,704 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题报名审核不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
692 | -2023-03-20 18:02:34,704 - [test_04_Internship_preparation.py-->line:293] - ERROR: '报名审核不能为空' != '项目名称已存在' | ||
693 | -- 报名审核不能为空 | ||
694 | -+ 项目名称已存在 | ||
695 | -Traceback (most recent call last): | ||
696 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
697 | - self.assertEqual(expected['msg'], res['msg']) | ||
698 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
699 | - assertion_func(first, second, msg=msg) | ||
700 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
701 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
702 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
703 | - raise self.failureException(msg) | ||
704 | -AssertionError: '报名审核不能为空' != '项目名称已存在' | ||
705 | -- 报名审核不能为空 | ||
706 | -+ 项目名称已存在 | ||
707 | - | ||
708 | -2023-03-20 18:02:35,048 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
709 | -2023-03-20 18:02:35,048 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != 'success' | ||
710 | -- 实习计划不匹配 | ||
711 | -+ success | ||
712 | -Traceback (most recent call last): | ||
713 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
714 | - self.assertEqual(expected['msg'], res['msg']) | ||
715 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
716 | - assertion_func(first, second, msg=msg) | ||
717 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
718 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
719 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
720 | - raise self.failureException(msg) | ||
721 | -AssertionError: '实习计划不匹配' != 'success' | ||
722 | -- 实习计划不匹配 | ||
723 | -+ success | ||
724 | - | ||
725 | -2023-03-20 18:02:35,520 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
726 | -2023-03-20 18:02:35,521 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
727 | -- 实习计划不匹配 | ||
728 | -+ 项目名称已存在 | ||
729 | -Traceback (most recent call last): | ||
730 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
731 | - self.assertEqual(expected['msg'], res['msg']) | ||
732 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
733 | - assertion_func(first, second, msg=msg) | ||
734 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
735 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
736 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
737 | - raise self.failureException(msg) | ||
738 | -AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
739 | -- 实习计划不匹配 | ||
740 | -+ 项目名称已存在 | ||
741 | - | ||
742 | -2023-03-20 18:02:35,983 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
743 | -2023-03-20 18:02:35,983 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
744 | -- 实习计划不匹配 | ||
745 | -+ 项目名称已存在 | ||
746 | -Traceback (most recent call last): | ||
747 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
748 | - self.assertEqual(expected['msg'], res['msg']) | ||
749 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
750 | - assertion_func(first, second, msg=msg) | ||
751 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
752 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
753 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
754 | - raise self.failureException(msg) | ||
755 | -AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
756 | -- 实习计划不匹配 | ||
757 | -+ 项目名称已存在 | ||
758 | - | ||
759 | -2023-03-20 18:02:36,476 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息填写错误(后期在做修改,目前不做改动-0104),不通过 | ||
760 | -2023-03-20 18:02:36,476 - [test_04_Internship_preparation.py-->line:293] - ERROR: '实习计划不匹配' != '项目名称已存在' | ||
761 | -- 实习计划不匹配 | ||
762 | -+ 项目名称已存在 | ||
763 | -Traceback (most recent call last): | ||
764 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
765 | - self.assertEqual(expected['msg'], res['msg']) | ||
766 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
767 | - assertion_func(first, second, msg=msg) | ||
768 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
769 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
770 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
771 | - raise self.failureException(msg) | ||
772 | -AssertionError: '实习计划不匹配' != '项目名称已存在' | ||
773 | -- 实习计划不匹配 | ||
774 | -+ 项目名称已存在 | ||
775 | - | ||
776 | -2023-03-20 18:02:36,825 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
777 | -2023-03-20 18:02:36,825 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != 'success' | ||
778 | -- 自行填报企业信息不能为空 | ||
779 | -+ success | ||
780 | -Traceback (most recent call last): | ||
781 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
782 | - self.assertEqual(expected['msg'], res['msg']) | ||
783 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
784 | - assertion_func(first, second, msg=msg) | ||
785 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
786 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
787 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
788 | - raise self.failureException(msg) | ||
789 | -AssertionError: '自行填报企业信息不能为空' != 'success' | ||
790 | -- 自行填报企业信息不能为空 | ||
791 | -+ success | ||
792 | - | ||
793 | -2023-03-20 18:02:37,296 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
794 | -2023-03-20 18:02:37,296 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
795 | -- 自行填报企业信息不能为空 | ||
796 | -+ 项目名称已存在 | ||
797 | -Traceback (most recent call last): | ||
798 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
799 | - self.assertEqual(expected['msg'], res['msg']) | ||
800 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
801 | - assertion_func(first, second, msg=msg) | ||
802 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
803 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
804 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
805 | - raise self.failureException(msg) | ||
806 | -AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
807 | -- 自行填报企业信息不能为空 | ||
808 | -+ 项目名称已存在 | ||
809 | - | ||
810 | -2023-03-20 18:02:37,786 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
811 | -2023-03-20 18:02:37,787 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
812 | -- 自行填报企业信息不能为空 | ||
813 | -+ 项目名称已存在 | ||
814 | -Traceback (most recent call last): | ||
815 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
816 | - self.assertEqual(expected['msg'], res['msg']) | ||
817 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
818 | - assertion_func(first, second, msg=msg) | ||
819 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
820 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
821 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
822 | - raise self.failureException(msg) | ||
823 | -AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
824 | -- 自行填报企业信息不能为空 | ||
825 | -+ 项目名称已存在 | ||
826 | - | ||
827 | -2023-03-20 18:02:38,331 - [test_04_Internship_preparation.py-->line:292] - ERROR: 用例标题自行填报企业信息不能为空(后期在做修改,目前不做改动-0104),不通过 | ||
828 | -2023-03-20 18:02:38,331 - [test_04_Internship_preparation.py-->line:293] - ERROR: '自行填报企业信息不能为空' != '项目名称已存在' | ||
829 | -- 自行填报企业信息不能为空 | ||
830 | -+ 项目名称已存在 | ||
831 | -Traceback (most recent call last): | ||
832 | - File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project | ||
833 | - self.assertEqual(expected['msg'], res['msg']) | ||
834 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual | ||
835 | - assertion_func(first, second, msg=msg) | ||
836 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual | ||
837 | - self.fail(self._formatMessage(msg, standardMsg)) | ||
838 | - File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail | ||
839 | - raise self.failureException(msg) | ||
840 | -AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' | ||
841 | -- 自行填报企业信息不能为空 | ||
842 | -+ 项目名称已存在 | ||
843 | - | ||
844 | -2023-03-20 18:02:38,676 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生不能为空,执行通过 | ||
845 | -2023-03-20 18:02:39,063 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例参与学生填写错误,执行通过 | ||
846 | -2023-03-20 18:02:39,474 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师不填写,添加成功,执行通过 | ||
847 | -2023-03-20 18:02:39,828 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例关联指定老师填写错误,执行通过 | ||
848 | -2023-03-20 18:02:40,219 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位不能为空,执行通过 | ||
849 | -2023-03-20 18:02:40,645 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例推荐岗位填写错误,执行通过 | ||
850 | -2023-03-20 18:02:41,242 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例新增项目成功--自主-(需要报名审核-允许自行填报企业信息),执行通过 | ||
851 | -2023-03-20 18:02:41,730 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | ||
852 | -2023-03-20 18:02:42,215 - [test_04_Internship_preparation.py-->line:299] - INFO: 用例创建项目,方便使用的数据,执行通过 | ||
853 | -2023-03-20 18:02:44,004 - [test_04_Internship_preparation.py-->line:363] - INFO: 用例发布项目,执行通过 | ||
854 | -2023-03-20 18:02:45,690 - [test_05_student_practice.py-->line:71] - INFO: 用例查看全部实习,执行通过 | ||
855 | -2023-03-20 18:02:48,000 - [test_05_student_practice.py-->line:129] - INFO: 用例学生提交报名岗位,执行通过 | ||
856 | -2023-03-20 18:02:48,942 - [test_06_internship_manage.py-->line:71] - INFO: 用例查看学校报名审核-待审核,执行通过 | ||
857 | -2023-03-20 18:02:50,931 - [test_06_internship_manage.py-->line:127] - INFO: 用例审核成功(学校),执行通过 | ||
858 | -2023-03-20 18:02:52,646 - [test_06_internship_manage.py-->line:290] - INFO: 用例学生填写开始实习时间成功,执行通过 | ||
859 | -2023-03-20 18:02:53,969 - [test_06_internship_manage.py-->line:349] - INFO: 用例实习申请审核成功(学校),执行通过 | ||
860 | -2023-03-20 18:02:55,482 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(日志)-成功,执行通过 | ||
861 | -2023-03-20 18:02:56,825 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(周志)-成功,执行通过 | ||
862 | -2023-03-20 18:02:57,995 - [test_06_internship_manage.py-->line:409] - INFO: 用例学生填写-(月志)-成功,执行通过 | ||
863 | -2023-03-20 18:03:00,582 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(日志)-成功,执行通过 | ||
864 | -2023-03-20 18:03:03,019 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(周志)-成功,执行通过 | ||
865 | -2023-03-20 18:03:05,280 - [test_06_internship_manage.py-->line:489] - INFO: 用例学校端批阅-(月志)-成功,执行通过 | ||
866 | -2023-03-20 18:03:07,161 - [test_06_internship_manage.py-->line:546] - INFO: 用例学生签到打卡成功,执行通过 | ||
867 | -2023-03-20 18:03:08,689 - [test_06_internship_manage.py-->line:607] - INFO: 用例学生填写请假申请(调休)成功,执行通过 | ||
868 | -2023-03-20 18:03:10,038 - [test_06_internship_manage.py-->line:669] - INFO: 用例教师审批请假申请通过,执行通过 |
logs/log.log.2023-03-24
已删除
100644 → 0
此 diff 太大无法显示。
logs/log.log.2023-03-27
已删除
100644 → 0
此 diff 太大无法显示。
logs/log.log.2023-03-30
已删除
100644 → 0
此 diff 太大无法显示。
此 diff 太大无法显示。
@@ -239,7 +239,7 @@ | @@ -239,7 +239,7 @@ | ||
239 | 239 | ||
240 | <option>Test03Course</option> | 240 | <option>Test03Course</option> |
241 | 241 | ||
242 | - <option>Test02publishInternshipPlan</option> | 242 | + <option>Test04publishInternshipPlan</option> |
243 | 243 | ||
244 | <option>Test02Specialty</option> | 244 | <option>Test02Specialty</option> |
245 | 245 | ||
@@ -4165,7 +4165,7 @@ test_add_plan_31 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | @@ -4165,7 +4165,7 @@ test_add_plan_31 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | ||
4165 | 4165 | ||
4166 | <tr> | 4166 | <tr> |
4167 | <td>122</td> | 4167 | <td>122</td> |
4168 | - <td class="Test02publishInternshipPlan">Test02publishInternshipPlan</td> | 4168 | + <td class="Test04publishInternshipPlan">Test04publishInternshipPlan</td> |
4169 | <td>test_publish_plan_1</td> | 4169 | <td>test_publish_plan_1</td> |
4170 | <td>发布计划</td> | 4170 | <td>发布计划</td> |
4171 | <td>1.09s</td> | 4171 | <td>1.09s</td> |
@@ -4185,7 +4185,7 @@ test_add_plan_31 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | @@ -4185,7 +4185,7 @@ test_add_plan_31 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | ||
4185 | <pre>用例入参:{'publishStatus': 'published', 'ids': [1672845913925898241]} | 4185 | <pre>用例入参:{'publishStatus': 'published', 'ids': [1672845913925898241]} |
4186 | 预期结果: {'msg': 'success', 'code': 200, 'data': True} | 4186 | 预期结果: {'msg': 'success', 'code': 200, 'data': True} |
4187 | 实际结果: {'msg': 'success', 'code': 200, 'data': True} | 4187 | 实际结果: {'msg': 'success', 'code': 200, 'data': True} |
4188 | -test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【通过】 | 4188 | +test_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)执行——>【通过】 |
4189 | </pre> | 4189 | </pre> |
4190 | 4190 | ||
4191 | 4191 |
@@ -8390,12 +8390,12 @@ | @@ -8390,12 +8390,12 @@ | ||
8390 | 8390 | ||
8391 | 8391 | ||
8392 | { | 8392 | { |
8393 | - "className": "Test02publishInternshipPlan", | 8393 | + "className": "Test04publishInternshipPlan", |
8394 | "methodName": "test_publish_plan_1", | 8394 | "methodName": "test_publish_plan_1", |
8395 | "description": "发布计划", | 8395 | "description": "发布计划", |
8396 | "spendTime": "4.55s", | 8396 | "spendTime": "4.55s", |
8397 | "status": "错误", | 8397 | "status": "错误", |
8398 | - "log": ['Traceback (most recent call last):\n', ' File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n', ' File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n', ' File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n', ' File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\n', "AttributeError: 'Test02publishInternshipPlan' object has no attribute 'add_plan'\n", '用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【错误Error】\nTraceback (most recent call last):\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\nAttributeError: \'Test02publishInternshipPlan\' object has no attribute \'add_plan\'\n================test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)重运行第1次================\n用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【错误Error】\nTraceback (most recent call last):\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\nAttributeError: \'Test02publishInternshipPlan\' object has no attribute \'add_plan\'\n================test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)重运行第2次================\n用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【错误Error】\nTraceback (most recent call last):\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\nAttributeError: \'Test02publishInternshipPlan\' object has no attribute \'add_plan\'\n================test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)重运行第3次================\n用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【错误Error】\n'] | 8398 | + "log": ['Traceback (most recent call last):\n', ' File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n', ' File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n', ' File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n', ' File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\n', "AttributeError: 'Test04publishInternshipPlan' object has no attribute 'add_plan'\n", '用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)执行——>【错误Error】\nTraceback (most recent call last):\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\nAttributeError: \'Test04publishInternshipPlan\' object has no attribute \'add_plan\'\n================test_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)重运行第1次================\n用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)执行——>【错误Error】\nTraceback (most recent call last):\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\nAttributeError: \'Test04publishInternshipPlan\' object has no attribute \'add_plan\'\n================test_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)重运行第2次================\n用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)执行——>【错误Error】\nTraceback (most recent call last):\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor\n yield\n File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run\n testMethod()\n File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper\n return func(self, *args, **kwargs)\n File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 208, in test_publish_plan\n self.add_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"])\nAttributeError: \'Test04publishInternshipPlan\' object has no attribute \'add_plan\'\n================test_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)重运行第3次================\n用例入参:{\'publishStatus\': \'published\', \'ids\': [1610880131042504706]}\n预期结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\n实际结果: {\'msg\': \'success\', \'code\': 200, \'data\': True}\ntest_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)执行——>【错误Error】\n'] |
8399 | }, | 8399 | }, |
8400 | 8400 | ||
8401 | 8401 |
@@ -265,7 +265,7 @@ | @@ -265,7 +265,7 @@ | ||
265 | 265 | ||
266 | <option>Test01SelectAllPractice</option> | 266 | <option>Test01SelectAllPractice</option> |
267 | 267 | ||
268 | - <option>Test02publishInternshipPlan</option> | 268 | + <option>Test04publishInternshipPlan</option> |
269 | 269 | ||
270 | <option>Test11TeacherAprove</option> | 270 | <option>Test11TeacherAprove</option> |
271 | 271 | ||
@@ -3545,7 +3545,7 @@ test_add_plan_25 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | @@ -3545,7 +3545,7 @@ test_add_plan_25 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | ||
3545 | 3545 | ||
3546 | <tr> | 3546 | <tr> |
3547 | <td>113</td> | 3547 | <td>113</td> |
3548 | - <td class="Test02publishInternshipPlan">Test02publishInternshipPlan</td> | 3548 | + <td class="Test04publishInternshipPlan">Test04publishInternshipPlan</td> |
3549 | <td>test_publish_plan_1</td> | 3549 | <td>test_publish_plan_1</td> |
3550 | <td>发布计划</td> | 3550 | <td>发布计划</td> |
3551 | <td>1.02s</td> | 3551 | <td>1.02s</td> |
@@ -3565,7 +3565,7 @@ test_add_plan_25 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | @@ -3565,7 +3565,7 @@ test_add_plan_25 (test_04_Internship_preparation.Test01addInternshipPlan)执行â | ||
3565 | <pre>用例入参:{'publishStatus': 'published', 'ids': [1684862101195345921]} | 3565 | <pre>用例入参:{'publishStatus': 'published', 'ids': [1684862101195345921]} |
3566 | 预期结果: {'msg': 'success', 'code': 200, 'data': True} | 3566 | 预期结果: {'msg': 'success', 'code': 200, 'data': True} |
3567 | 实际结果: {'msg': 'success', 'code': 200, 'data': True} | 3567 | 实际结果: {'msg': 'success', 'code': 200, 'data': True} |
3568 | -test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【通过】 | 3568 | +test_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipPlan)执行——>【通过】 |
3569 | </pre> | 3569 | </pre> |
3570 | 3570 | ||
3571 | 3571 |
此 diff 太大无法显示。
@@ -26,12 +26,12 @@ from testcase.test_02_system_management import Test01Department, Test02Specialty | @@ -26,12 +26,12 @@ from testcase.test_02_system_management import Test01Department, Test02Specialty | ||
26 | # 新增教师、新增班级、新增课程、新增学生、 | 26 | # 新增教师、新增班级、新增课程、新增学生、 |
27 | from testcase.test_03_teaching_affairs import Test01Teacher, Test02Class, Test03Course, Test04Student | 27 | from testcase.test_03_teaching_affairs import Test01Teacher, Test02Class, Test03Course, Test04Student |
28 | # 新增计划、发布计划、新增项目、发布项目、 | 28 | # 新增计划、发布计划、新增项目、发布项目、 |
29 | -from testcase.test_04_Internship_preparation import Test01addInternshipPlan, Test02publishInternshipPlan, \ | ||
30 | - Test03addInternshipProject, Test04publishInternshipProject | 29 | +# from testcase.test_04_Internship_preparation import Test01addInternshipPlan, Test04publishInternshipPlan, \ |
30 | +# # Test03addInternshipProject, Test04publishInternshipProject | ||
31 | # 学生查看实习、学生报名、 | 31 | # 学生查看实习、学生报名、 |
32 | from testcase.test_05_student_practice import Test01SelectAllPractice, Test02StudentApply | 32 | from testcase.test_05_student_practice import Test01SelectAllPractice, Test02StudentApply |
33 | # 查看报名审核、报名审核-学校端-进行审核、报名审核-hr端-待审核列表查看(实习申请列表)、 报名审核-hr端-进行审核 | 33 | # 查看报名审核、报名审核-学校端-进行审核、报名审核-hr端-待审核列表查看(实习申请列表)、 报名审核-hr端-进行审核 |
34 | -from testcase.test_06_internship_manage import Test01SelectApplyAuditList, Test02SchoolAudit | 34 | +# from testcase.test_06_internship_manage import Test01SelectApplyAuditList, Test02SchoolAudit |
35 | 35 | ||
36 | """ | 36 | """ |
37 | 执行所有用例 | 37 | 执行所有用例 |
@@ -53,14 +53,13 @@ a3 = unittest.TestLoader().loadTestsFromTestCase(Test02Specialty) | @@ -53,14 +53,13 @@ a3 = unittest.TestLoader().loadTestsFromTestCase(Test02Specialty) | ||
53 | a4 = unittest.TestLoader().loadTestsFromTestCase(Test03Year) | 53 | a4 = unittest.TestLoader().loadTestsFromTestCase(Test03Year) |
54 | a5 = unittest.TestLoader().loadTestsFromTestCase(Test02Class) | 54 | a5 = unittest.TestLoader().loadTestsFromTestCase(Test02Class) |
55 | a6 = unittest.TestLoader().loadTestsFromTestCase(Test04Student) | 55 | a6 = unittest.TestLoader().loadTestsFromTestCase(Test04Student) |
56 | -bbbbbb = unittest.TestLoader().loadTestsFromTestCase(Test02SchoolAudit) | ||
57 | -cccc = unittest.TestLoader().loadTestsFromTestCase(Test01addInternshipPlan) | 56 | +# bbbbbb = unittest.TestLoader().loadTestsFromTestCase(Test02SchoolAudit) |
57 | +# cccc = unittest.TestLoader().loadTestsFromTestCase(Test01addInternshipPlan) | ||
58 | suite = unittest.TestSuite([a1, a2, a3, a4, a5, a6]) | 58 | suite = unittest.TestSuite([a1, a2, a3, a4, a5, a6]) |
59 | -suite_a = unittest.TestSuite([cccc]) | 59 | +# suite_a = unittest.TestSuite([cccc]) |
60 | 60 | ||
61 | runner_test(suite_all) # 执行 | 61 | runner_test(suite_all) # 执行 |
62 | 62 | ||
63 | - | ||
64 | # runner_test(suite_a) # 执行 | 63 | # runner_test(suite_a) # 执行 |
65 | 64 | ||
66 | # input_case = input("请输入需要执行的用例:") | 65 | # input_case = input("请输入需要执行的用例:") |
@@ -147,10 +147,128 @@ class Test01addInternshipPlan(unittest.TestCase): | @@ -147,10 +147,128 @@ class Test01addInternshipPlan(unittest.TestCase): | ||
147 | 147 | ||
148 | 148 | ||
149 | # ==================================================================== | 149 | # ==================================================================== |
150 | +# 提交审核计划 | ||
151 | +# ==================================================================== | ||
152 | +@ddt | ||
153 | +class Test02submitInternshipPlan(unittest.TestCase): | ||
154 | + submit_plan = Excel(os.path.join(Internship_path, "test_04_internship_plan.xlsx"), | ||
155 | + "submit_internship_plan") # 提交审核计划 | ||
156 | + submit_plan_case = submit_plan.read_excel() | ||
157 | + | ||
158 | + @classmethod | ||
159 | + def setUpClass(cls): | ||
160 | + # 获取登陆token | ||
161 | + cls.token = LoginToken.login_token() | ||
162 | + | ||
163 | + # 前置: | ||
164 | + def setUp(self): | ||
165 | + # 获取计划id | ||
166 | + # ---获取计划id | ||
167 | + select_plan_excel = Excel(os.path.join(Internship_path, "test_04_internship_plan.xlsx"), | ||
168 | + "select_internship_plan") | ||
169 | + read_plan_excel = select_plan_excel.read_excel_location("C4") | ||
170 | + read_plan_excel_d = select_plan_excel.read_excel_location("E4") # 读取params | ||
171 | + plan_list = SelectData(str(read_plan_excel), json.loads(read_plan_excel_d)) | ||
172 | + plan_json = plan_list.select_list() | ||
173 | + self.planId = jsonpath(plan_json, "$..id")[0] # 获取待审核计划id | ||
174 | + | ||
175 | + @data(*submit_plan_case) | ||
176 | + def test_submit_plan(self, case): | ||
177 | + url = conf.get("url", "url_ip") + case["url"] | ||
178 | + | ||
179 | + # 准备数据 | ||
180 | + if "#ids#" in case["data"]: | ||
181 | + case["data"] = case["data"].replace("#ids#", str(self.planId)) # 计划id | ||
182 | + data = json.loads(case["data"]) | ||
183 | + expected = json.loads(case["expected"]) | ||
184 | + # 调用接口 | ||
185 | + herders = {} | ||
186 | + herders["Authorization"] = self.token | ||
187 | + # 调用接口 | ||
188 | + self.request = requests.request(url=url, method=case["method"], json=data, headers=herders) | ||
189 | + res = self.request.json() | ||
190 | + print("用例入参:{}".format(data)) | ||
191 | + print("预期结果:", expected) | ||
192 | + print("实际结果:", res) | ||
193 | + # 断言 | ||
194 | + try: | ||
195 | + self.assertEqual(expected['msg'], res['msg']) | ||
196 | + self.assertEqual(expected['code'], res['code']) | ||
197 | + except AssertionError as e: | ||
198 | + # 写入Excel | ||
199 | + self.submit_plan.write_excel(row=case["id"] + 1, column=7, value="不通过") | ||
200 | + HandleLog.log.error("用例标题{},不通过".format(case['title'])) | ||
201 | + HandleLog.log.exception(e) | ||
202 | + raise e | ||
203 | + else: | ||
204 | + self.submit_plan.write_excel(row=case["id"] + 1, column=7, value="通过") | ||
205 | + # 将创建使用的数据写入到excel表格中 | ||
206 | + self.submit_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | ||
207 | + HandleLog.log.info("用例{},执行通过".format(case["title"])) | ||
208 | + | ||
209 | + | ||
210 | +# ==================================================================== | ||
211 | +# 审核成功计划 | ||
212 | +# ==================================================================== | ||
213 | +@ddt | ||
214 | +class Test03auditInternshipPlan(unittest.TestCase): | ||
215 | + audit_plan = Excel(os.path.join(Internship_path, "test_04_internship_plan.xlsx"), | ||
216 | + "audit_internship_plan") # 待审核的计划 | ||
217 | + audit_plan_case = audit_plan.read_excel() | ||
218 | + | ||
219 | + @classmethod | ||
220 | + def setUpClass(cls): | ||
221 | + # 获取登陆token | ||
222 | + cls.token = LoginToken.login_token() | ||
223 | + | ||
224 | + def setUp(self): | ||
225 | + # 获取待审核计划的id | ||
226 | + select_audit_plan_excel = Excel(os.path.join(Internship_path, "test_04_internship_plan.xlsx"), | ||
227 | + "select_internship_plan") | ||
228 | + read_plan_excel = select_audit_plan_excel.read_excel_location("C5") | ||
229 | + read_plan_excel_d = select_audit_plan_excel.read_excel_location("E5") # 读取params | ||
230 | + plan_list = SelectData(str(read_plan_excel), json.loads(read_plan_excel_d)) | ||
231 | + plan_json = plan_list.select_list() | ||
232 | + self.planId = jsonpath(plan_json, "$..id")[0] # 获取待审核计划id | ||
233 | + | ||
234 | + # 一、准备用例数据 | ||
235 | + @data(*audit_plan_case) | ||
236 | + def test_audit_plan(self, case): | ||
237 | + # 1。接口地址 | ||
238 | + url = conf.get("url", "url_ip") + case["url"] | ||
239 | + # 2。请求参数 | ||
240 | + if "#ids#" in case["data"]: | ||
241 | + case["data"] = case["data"].replace("#ids#", str(self.planId)) # 计划id | ||
242 | + data = json.loads(case["data"]) | ||
243 | + expected = json.loads(case["expected"]) | ||
244 | + headers = {} | ||
245 | + headers["Authorization"] = self.token | ||
246 | + self.request = requests.request(url=url, method=case["method"], json=data, headers=headers) | ||
247 | + res = self.request.json() | ||
248 | + print("用例入参:{}".format(data)) | ||
249 | + print("预期结果:", expected) | ||
250 | + print("实际结果:", res) | ||
251 | + # 3。预期结果 | ||
252 | + try: | ||
253 | + self.assertEqual(expected['msg'], res['msg']) | ||
254 | + self.assertEqual(expected['code'], res['code']) | ||
255 | + except AssertionError as e: | ||
256 | + self.audit_plan.write_excel(row=case["id"] + 1, column=7, value="不通过") | ||
257 | + HandleLog.log.error("用例标题{},不通过".format(case['title'])) | ||
258 | + HandleLog.log.exception(e) | ||
259 | + raise e | ||
260 | + else: | ||
261 | + self.audit_plan.write_excel(row=case["id"] + 1, column=7, value="通过") | ||
262 | + # 将创建使用的数据写入到excel表格中 | ||
263 | + self.audit_plan.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | ||
264 | + HandleLog.log.info("用例{},执行通过".format(case["title"])) | ||
265 | + | ||
266 | + | ||
267 | +# ==================================================================== | ||
150 | # 发布计划 | 268 | # 发布计划 |
151 | # ==================================================================== | 269 | # ==================================================================== |
152 | @ddt | 270 | @ddt |
153 | -class Test02publishInternshipPlan(unittest.TestCase): | 271 | +class Test04publishInternshipPlan(unittest.TestCase): |
154 | publish_plan = Excel(os.path.join(Internship_path, "test_04_internship_plan.xlsx"), | 272 | publish_plan = Excel(os.path.join(Internship_path, "test_04_internship_plan.xlsx"), |
155 | "publish_internship_plan") # 发布计划Excel | 273 | "publish_internship_plan") # 发布计划Excel |
156 | publish_plan_case = publish_plan.read_excel() | 274 | publish_plan_case = publish_plan.read_excel() |
@@ -209,6 +327,8 @@ class Test02publishInternshipPlan(unittest.TestCase): | @@ -209,6 +327,8 @@ class Test02publishInternshipPlan(unittest.TestCase): | ||
209 | HandleLog.log.info("用例{},执行通过".format(case["title"])) | 327 | HandleLog.log.info("用例{},执行通过".format(case["title"])) |
210 | 328 | ||
211 | 329 | ||
330 | +# ---------------------------------------------------------------2023年10月24修改,删除掉项目相关的功能 | ||
331 | +''' | ||
212 | # ==================实习项目相关的用例================== | 332 | # ==================实习项目相关的用例================== |
213 | # ==================================================================== | 333 | # ==================================================================== |
214 | # 新增项目 | 334 | # 新增项目 |
@@ -361,4 +481,7 @@ class Test04publishInternshipProject(unittest.TestCase): | @@ -361,4 +481,7 @@ class Test04publishInternshipProject(unittest.TestCase): | ||
361 | # 将创建使用的数据写入到excel表格中 | 481 | # 将创建使用的数据写入到excel表格中 |
362 | self.publish_project.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | 482 | self.publish_project.write_excel(row=case["id"] + 1, column=9, value=case["data"]) |
363 | HandleLog.log.info("用例{},执行通过".format(case["title"])) | 483 | HandleLog.log.info("用例{},执行通过".format(case["title"])) |
364 | - | 484 | +''' |
485 | +# | ||
486 | +# if __name__ == '__main__': | ||
487 | +# Test01addInternshipPlan.test_add_plan() |
@@ -31,16 +31,16 @@ from tools.handle_token import LoginToken, HrLoginToken, StudentLoginToken | @@ -31,16 +31,16 @@ from tools.handle_token import LoginToken, HrLoginToken, StudentLoginToken | ||
31 | # 报名审核-待审核列表查看--学校 | 31 | # 报名审核-待审核列表查看--学校 |
32 | # ==================================================================== | 32 | # ==================================================================== |
33 | @ddt | 33 | @ddt |
34 | -class Test01SelectApplyAuditList(unittest.TestCase): | ||
35 | - select_apply_audit = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), "school_select_apply_audit") | ||
36 | - select_apply_audit_case = select_apply_audit.read_excel() # 查询报名审核Excel | 34 | +class Test01SelectApplysubmitList(unittest.TestCase): |
35 | + select_apply_submit = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), "school_select_apply_submit") | ||
36 | + select_apply_submit_case = select_apply_submit.read_excel() # 查询报名审核Excel | ||
37 | 37 | ||
38 | @classmethod | 38 | @classmethod |
39 | def setUpClass(cls): | 39 | def setUpClass(cls): |
40 | # 获取token | 40 | # 获取token |
41 | cls.token = LoginToken.login_token() | 41 | cls.token = LoginToken.login_token() |
42 | 42 | ||
43 | - @data(*select_apply_audit_case) | 43 | + @data(*select_apply_submit_case) |
44 | def test01select_wait_list(self, case): | 44 | def test01select_wait_list(self, case): |
45 | # 准备数据 | 45 | # 准备数据 |
46 | data = json.loads(case["data"]) | 46 | data = json.loads(case["data"]) |
@@ -60,14 +60,14 @@ class Test01SelectApplyAuditList(unittest.TestCase): | @@ -60,14 +60,14 @@ class Test01SelectApplyAuditList(unittest.TestCase): | ||
60 | self.assertEqual(expected['code'], res['code']) | 60 | self.assertEqual(expected['code'], res['code']) |
61 | except AssertionError as e: | 61 | except AssertionError as e: |
62 | # 写入Excel | 62 | # 写入Excel |
63 | - self.select_apply_audit.write_excel(row=case["id"] + 1, column=7, value="不通过") | 63 | + self.select_apply_submit.write_excel(row=case["id"] + 1, column=7, value="不通过") |
64 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) | 64 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) |
65 | HandleLog.log.exception(e) | 65 | HandleLog.log.exception(e) |
66 | raise e | 66 | raise e |
67 | else: | 67 | else: |
68 | - self.select_apply_audit.write_excel(row=case["id"] + 1, column=7, value="通过") | 68 | + self.select_apply_submit.write_excel(row=case["id"] + 1, column=7, value="通过") |
69 | # 将创建使用的数据写入到excel表格中 | 69 | # 将创建使用的数据写入到excel表格中 |
70 | - self.select_apply_audit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | 70 | + self.select_apply_submit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) |
71 | HandleLog.log.info("用例{},执行通过".format(case["title"])) | 71 | HandleLog.log.info("用例{},执行通过".format(case["title"])) |
72 | 72 | ||
73 | 73 | ||
@@ -75,9 +75,9 @@ class Test01SelectApplyAuditList(unittest.TestCase): | @@ -75,9 +75,9 @@ class Test01SelectApplyAuditList(unittest.TestCase): | ||
75 | # 报名审核-学校端-进行审核 | 75 | # 报名审核-学校端-进行审核 |
76 | # ==================================================================== | 76 | # ==================================================================== |
77 | @ddt | 77 | @ddt |
78 | -class Test02SchoolAudit(unittest.TestCase): | ||
79 | - audit = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), "school_audit") | ||
80 | - audit_case = audit.read_excel() # 查询报名审核Excel | 78 | +class Test02Schoolsubmit(unittest.TestCase): |
79 | + submit = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), "school_submit") | ||
80 | + submit_case = submit.read_excel() # 查询报名审核Excel | ||
81 | 81 | ||
82 | @classmethod | 82 | @classmethod |
83 | def setUpClass(cls): | 83 | def setUpClass(cls): |
@@ -86,16 +86,16 @@ class Test02SchoolAudit(unittest.TestCase): | @@ -86,16 +86,16 @@ class Test02SchoolAudit(unittest.TestCase): | ||
86 | 86 | ||
87 | def setUp(self): | 87 | def setUp(self): |
88 | # ---获取报名审核id---待审核 | 88 | # ---获取报名审核id---待审核 |
89 | - select_apply_excel = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | ||
90 | - "school_select_apply_audit") | 89 | + select_apply_excel = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
90 | + "school_select_apply_submit") | ||
91 | read_apply_excel = select_apply_excel.read_excel_location("C2") | 91 | read_apply_excel = select_apply_excel.read_excel_location("C2") |
92 | read_apply_excel_d = select_apply_excel.read_excel_location("E2") # 读取params | 92 | read_apply_excel_d = select_apply_excel.read_excel_location("E2") # 读取params |
93 | apply_list = SelectData(str(read_apply_excel), json.loads(read_apply_excel_d)) | 93 | apply_list = SelectData(str(read_apply_excel), json.loads(read_apply_excel_d)) |
94 | apply_json = apply_list.select_list() | 94 | apply_json = apply_list.select_list() |
95 | self.applyId = jsonpath(apply_json, "$..id")[0] # 获取待审核id | 95 | self.applyId = jsonpath(apply_json, "$..id")[0] # 获取待审核id |
96 | 96 | ||
97 | - @data(*audit_case) | ||
98 | - def test01audit(self, case): | 97 | + @data(*submit_case) |
98 | + def test01submit(self, case): | ||
99 | if "#formIds#" in case["data"]: | 99 | if "#formIds#" in case["data"]: |
100 | case["data"] = case["data"].replace("#formIds#", str(self.applyId)) # 待审核id | 100 | case["data"] = case["data"].replace("#formIds#", str(self.applyId)) # 待审核id |
101 | # 准备数据 | 101 | # 准备数据 |
@@ -116,14 +116,14 @@ class Test02SchoolAudit(unittest.TestCase): | @@ -116,14 +116,14 @@ class Test02SchoolAudit(unittest.TestCase): | ||
116 | self.assertEqual(expected['code'], res['code']) | 116 | self.assertEqual(expected['code'], res['code']) |
117 | except AssertionError as e: | 117 | except AssertionError as e: |
118 | # 写入Excel | 118 | # 写入Excel |
119 | - self.audit.write_excel(row=case["id"] + 1, column=7, value="不通过") | 119 | + self.submit.write_excel(row=case["id"] + 1, column=7, value="不通过") |
120 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) | 120 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) |
121 | HandleLog.log.exception(e) | 121 | HandleLog.log.exception(e) |
122 | raise e | 122 | raise e |
123 | else: | 123 | else: |
124 | - self.audit.write_excel(row=case["id"] + 1, column=7, value="通过") | 124 | + self.submit.write_excel(row=case["id"] + 1, column=7, value="通过") |
125 | # 将创建使用的数据写入到excel表格中 | 125 | # 将创建使用的数据写入到excel表格中 |
126 | - self.audit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | 126 | + self.submit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) |
127 | HandleLog.log.info("用例{},执行通过".format(case["title"])) | 127 | HandleLog.log.info("用例{},执行通过".format(case["title"])) |
128 | 128 | ||
129 | 129 | ||
@@ -134,16 +134,16 @@ class Test02SchoolAudit(unittest.TestCase): | @@ -134,16 +134,16 @@ class Test02SchoolAudit(unittest.TestCase): | ||
134 | # 报名审核-hr端-待审核列表查看(实习申请列表) | 134 | # 报名审核-hr端-待审核列表查看(实习申请列表) |
135 | # ==================================================================== | 135 | # ==================================================================== |
136 | @ddt | 136 | @ddt |
137 | -class Test03HrSelectAuditList(unittest.TestCase): | ||
138 | - select_hr_apply_audit = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), "hr_select_apply_audit") | ||
139 | - select_hr_apply_audit_case = select_hr_apply_audit.read_excel() # 查询报名审核Excel | 137 | +class Test03HrSelectsubmitList(unittest.TestCase): |
138 | + select_hr_apply_submit = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), "hr_select_apply_submit") | ||
139 | + select_hr_apply_submit_case = select_hr_apply_submit.read_excel() # 查询报名审核Excel | ||
140 | 140 | ||
141 | @classmethod | 141 | @classmethod |
142 | def setUpClass(cls): | 142 | def setUpClass(cls): |
143 | # 获取token | 143 | # 获取token |
144 | cls.token = HrLoginToken.login_token() | 144 | cls.token = HrLoginToken.login_token() |
145 | 145 | ||
146 | - @data(*select_hr_apply_audit_case) | 146 | + @data(*select_hr_apply_submit_case) |
147 | def test01select_hr_wait_list(self, case): | 147 | def test01select_hr_wait_list(self, case): |
148 | # 准备数据 | 148 | # 准备数据 |
149 | data = json.loads(case["data"]) | 149 | data = json.loads(case["data"]) |
@@ -163,14 +163,14 @@ class Test03HrSelectAuditList(unittest.TestCase): | @@ -163,14 +163,14 @@ class Test03HrSelectAuditList(unittest.TestCase): | ||
163 | self.assertEqual(expected['code'], res['code']) | 163 | self.assertEqual(expected['code'], res['code']) |
164 | except AssertionError as e: | 164 | except AssertionError as e: |
165 | # 写入Excel | 165 | # 写入Excel |
166 | - self.select_hr_apply_audit.write_excel(row=case["id"] + 1, column=7, value="不通过") | 166 | + self.select_hr_apply_submit.write_excel(row=case["id"] + 1, column=7, value="不通过") |
167 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) | 167 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) |
168 | HandleLog.log.exception(e) | 168 | HandleLog.log.exception(e) |
169 | raise e | 169 | raise e |
170 | else: | 170 | else: |
171 | - self.select_hr_apply_audit.write_excel(row=case["id"] + 1, column=7, value="通过") | 171 | + self.select_hr_apply_submit.write_excel(row=case["id"] + 1, column=7, value="通过") |
172 | # 将创建使用的数据写入到excel表格中 | 172 | # 将创建使用的数据写入到excel表格中 |
173 | - self.select_hr_apply_audit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | 173 | + self.select_hr_apply_submit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) |
174 | HandleLog.log.info("用例{},执行通过".format(case["title"])) | 174 | HandleLog.log.info("用例{},执行通过".format(case["title"])) |
175 | 175 | ||
176 | 176 | ||
@@ -178,9 +178,9 @@ class Test03HrSelectAuditList(unittest.TestCase): | @@ -178,9 +178,9 @@ class Test03HrSelectAuditList(unittest.TestCase): | ||
178 | # 报名审核-hr端-进行审核2022/01/16 | 178 | # 报名审核-hr端-进行审核2022/01/16 |
179 | # ==================================================================== | 179 | # ==================================================================== |
180 | @ddt | 180 | @ddt |
181 | -class Test04HrAudit(unittest.TestCase): | ||
182 | - hr_audit = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), "hr_audit") | ||
183 | - hr_audit_case = hr_audit.read_excel() # 查询报名审核Excel | 181 | +class Test04Hrsubmit(unittest.TestCase): |
182 | + hr_submit = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), "hr_submit") | ||
183 | + hr_submit_case = hr_submit.read_excel() # 查询报名审核Excel | ||
184 | 184 | ||
185 | @classmethod | 185 | @classmethod |
186 | def setUpClass(cls): | 186 | def setUpClass(cls): |
@@ -189,16 +189,16 @@ class Test04HrAudit(unittest.TestCase): | @@ -189,16 +189,16 @@ class Test04HrAudit(unittest.TestCase): | ||
189 | 189 | ||
190 | def setUp(self): | 190 | def setUp(self): |
191 | # ---获取报名审核id---待审核 | 191 | # ---获取报名审核id---待审核 |
192 | - select_hr_apply_excel = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | ||
193 | - "hr_select_apply_audit") | 192 | + select_hr_apply_excel = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
193 | + "hr_select_apply_submit") | ||
194 | read_hr_apply_excel = select_hr_apply_excel.read_excel_location("C2") | 194 | read_hr_apply_excel = select_hr_apply_excel.read_excel_location("C2") |
195 | read_hr_apply_excel_d = select_hr_apply_excel.read_excel_location("E2") # 读取params | 195 | read_hr_apply_excel_d = select_hr_apply_excel.read_excel_location("E2") # 读取params |
196 | hr_apply_list = SelectData(str(read_hr_apply_excel), json.loads(read_hr_apply_excel_d)) | 196 | hr_apply_list = SelectData(str(read_hr_apply_excel), json.loads(read_hr_apply_excel_d)) |
197 | hr_apply_json = hr_apply_list.select_list() | 197 | hr_apply_json = hr_apply_list.select_list() |
198 | self.hr_applyId = jsonpath(hr_apply_json, "$..id")[0] # 获取待审核id | 198 | self.hr_applyId = jsonpath(hr_apply_json, "$..id")[0] # 获取待审核id |
199 | 199 | ||
200 | - @data(*hr_audit_case) | ||
201 | - def test01hraudit(self, case): | 200 | + @data(*hr_submit_case) |
201 | + def test01hrsubmit(self, case): | ||
202 | if "#formIds#" in case["data"]: | 202 | if "#formIds#" in case["data"]: |
203 | case["data"] = case["data"].replace("#formIds#", str(self.hr_applyId)) # 待审核id | 203 | case["data"] = case["data"].replace("#formIds#", str(self.hr_applyId)) # 待审核id |
204 | 204 | ||
@@ -220,14 +220,14 @@ class Test04HrAudit(unittest.TestCase): | @@ -220,14 +220,14 @@ class Test04HrAudit(unittest.TestCase): | ||
220 | self.assertEqual(expected['code'], res['code']) | 220 | self.assertEqual(expected['code'], res['code']) |
221 | except AssertionError as e: | 221 | except AssertionError as e: |
222 | # 写入Excel | 222 | # 写入Excel |
223 | - self.hr_audit.write_excel(row=case["id"] + 1, column=7, value="不通过") | 223 | + self.hr_submit.write_excel(row=case["id"] + 1, column=7, value="不通过") |
224 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) | 224 | HandleLog.log.error("用例标题{},不通过".format(case['title'])) |
225 | HandleLog.log.exception(e) | 225 | HandleLog.log.exception(e) |
226 | raise e | 226 | raise e |
227 | else: | 227 | else: |
228 | - self.hr_audit.write_excel(row=case["id"] + 1, column=7, value="通过") | 228 | + self.hr_submit.write_excel(row=case["id"] + 1, column=7, value="通过") |
229 | # 将创建使用的数据写入到excel表格中 | 229 | # 将创建使用的数据写入到excel表格中 |
230 | - self.hr_audit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) | 230 | + self.hr_submit.write_excel(row=case["id"] + 1, column=9, value=case["data"]) |
231 | HandleLog.log.info("用例{},执行通过".format(case["title"])) | 231 | HandleLog.log.info("用例{},执行通过".format(case["title"])) |
232 | """ | 232 | """ |
233 | 233 | ||
@@ -237,7 +237,7 @@ class Test04HrAudit(unittest.TestCase): | @@ -237,7 +237,7 @@ class Test04HrAudit(unittest.TestCase): | ||
237 | # ==================================================================== | 237 | # ==================================================================== |
238 | @ddt | 238 | @ddt |
239 | class Test05StudentIntenship(unittest.TestCase): | 239 | class Test05StudentIntenship(unittest.TestCase): |
240 | - student_start_internship = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | 240 | + student_start_internship = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
241 | "student_start_internshipp") | 241 | "student_start_internshipp") |
242 | student_start_internship_case = student_start_internship.read_excel() # 学生填写开始时间 | 242 | student_start_internship_case = student_start_internship.read_excel() # 学生填写开始时间 |
243 | 243 | ||
@@ -248,7 +248,7 @@ class Test05StudentIntenship(unittest.TestCase): | @@ -248,7 +248,7 @@ class Test05StudentIntenship(unittest.TestCase): | ||
248 | 248 | ||
249 | def setUp(self): | 249 | def setUp(self): |
250 | # 获取学生端待实习id | 250 | # 获取学生端待实习id |
251 | - student_select_intership_wait_excle = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | 251 | + student_select_intership_wait_excle = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
252 | "student_select_intership_wait") | 252 | "student_select_intership_wait") |
253 | read_student_intership_excel = student_select_intership_wait_excle.read_excel_location("C2") | 253 | read_student_intership_excel = student_select_intership_wait_excle.read_excel_location("C2") |
254 | read_student_intership_excel_d = student_select_intership_wait_excle.read_excel_location("E2") # 读取params | 254 | read_student_intership_excel_d = student_select_intership_wait_excle.read_excel_location("E2") # 读取params |
@@ -295,8 +295,8 @@ class Test05StudentIntenship(unittest.TestCase): | @@ -295,8 +295,8 @@ class Test05StudentIntenship(unittest.TestCase): | ||
295 | # ==================================================================== | 295 | # ==================================================================== |
296 | @ddt | 296 | @ddt |
297 | class Test06SchoolSelectApply(unittest.TestCase): | 297 | class Test06SchoolSelectApply(unittest.TestCase): |
298 | - student_internship_applic = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | ||
299 | - "school_audit_internship_applic") | 298 | + student_internship_applic = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
299 | + "school_submit_internship_applic") | ||
300 | student_internship_applic_case = student_internship_applic.read_excel() | 300 | student_internship_applic_case = student_internship_applic.read_excel() |
301 | 301 | ||
302 | @classmethod | 302 | @classmethod |
@@ -306,7 +306,7 @@ class Test06SchoolSelectApply(unittest.TestCase): | @@ -306,7 +306,7 @@ class Test06SchoolSelectApply(unittest.TestCase): | ||
306 | 306 | ||
307 | def setUp(self): | 307 | def setUp(self): |
308 | # ---获取实习申请id---待审核 | 308 | # ---获取实习申请id---待审核 |
309 | - select_internship_applic = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | 309 | + select_internship_applic = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
310 | "school_select_internship_applic") | 310 | "school_select_internship_applic") |
311 | read_internship_applic_excel = select_internship_applic.read_excel_location("C2") | 311 | read_internship_applic_excel = select_internship_applic.read_excel_location("C2") |
312 | read_internship_applic_excel_d = select_internship_applic.read_excel_location("E2") # 读取params | 312 | read_internship_applic_excel_d = select_internship_applic.read_excel_location("E2") # 读取params |
@@ -316,7 +316,7 @@ class Test06SchoolSelectApply(unittest.TestCase): | @@ -316,7 +316,7 @@ class Test06SchoolSelectApply(unittest.TestCase): | ||
316 | self.internship_applic = jsonpath(internship_applic_json, "$..id")[0] # 获取实习申请待审核id | 316 | self.internship_applic = jsonpath(internship_applic_json, "$..id")[0] # 获取实习申请待审核id |
317 | 317 | ||
318 | @data(*student_internship_applic_case) | 318 | @data(*student_internship_applic_case) |
319 | - def test01audit(self, case): | 319 | + def test01submit(self, case): |
320 | if f"#id#" in case["url"]: | 320 | if f"#id#" in case["url"]: |
321 | case["url"] = case["url"].replace("#id#", str(self.internship_applic)) # 待审核id | 321 | case["url"] = case["url"].replace("#id#", str(self.internship_applic)) # 待审核id |
322 | 322 | ||
@@ -366,7 +366,7 @@ class Test07StudentWriteLog(unittest.TestCase): | @@ -366,7 +366,7 @@ class Test07StudentWriteLog(unittest.TestCase): | ||
366 | """单条用例执行前执行的函数""" | 366 | """单条用例执行前执行的函数""" |
367 | self.new_time = time.strftime("%Y%m%d_%H:%M:%S") | 367 | self.new_time = time.strftime("%Y%m%d_%H:%M:%S") |
368 | # 获取学生端实习中id | 368 | # 获取学生端实习中id |
369 | - student_select_intership_running_excle = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | 369 | + student_select_intership_running_excle = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
370 | "student_select_intership_wait") | 370 | "student_select_intership_wait") |
371 | read_student_intership_excel = student_select_intership_running_excle.read_excel_location("C3") | 371 | read_student_intership_excel = student_select_intership_running_excle.read_excel_location("C3") |
372 | read_student_intership_excel_d = student_select_intership_running_excle.read_excel_location("E3") # 读取params | 372 | read_student_intership_excel_d = student_select_intership_running_excle.read_excel_location("E3") # 读取params |
@@ -504,7 +504,7 @@ class Test09Attendance(unittest.TestCase): | @@ -504,7 +504,7 @@ class Test09Attendance(unittest.TestCase): | ||
504 | 504 | ||
505 | def setUp(self): | 505 | def setUp(self): |
506 | # 获取学生端实习中id | 506 | # 获取学生端实习中id |
507 | - student_select_intership_running_excle = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | 507 | + student_select_intership_running_excle = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
508 | "student_select_intership_wait") | 508 | "student_select_intership_wait") |
509 | read_student_intership_excel = student_select_intership_running_excle.read_excel_location("C3") | 509 | read_student_intership_excel = student_select_intership_running_excle.read_excel_location("C3") |
510 | read_student_intership_excel_d = student_select_intership_running_excle.read_excel_location("E3") # 读取params | 510 | read_student_intership_excel_d = student_select_intership_running_excle.read_excel_location("E3") # 读取params |
@@ -564,7 +564,7 @@ class Test10LeaveRecord(unittest.TestCase): | @@ -564,7 +564,7 @@ class Test10LeaveRecord(unittest.TestCase): | ||
564 | """单条用例执行前执行的函数""" | 564 | """单条用例执行前执行的函数""" |
565 | self.new_time = time.strftime("%Y%m%d_%H:%M:%S") | 565 | self.new_time = time.strftime("%Y%m%d_%H:%M:%S") |
566 | # 获取学生端实习中id | 566 | # 获取学生端实习中id |
567 | - student_select_intership_running_excle = Excel(os.path.join(Internship_manage, "test_07_apply_audit.xlsx"), | 567 | + student_select_intership_running_excle = Excel(os.path.join(Internship_manage, "test_07_apply_submit.xlsx"), |
568 | "student_select_intership_wait") | 568 | "student_select_intership_wait") |
569 | read_student_intership_excel = student_select_intership_running_excle.read_excel_location("C3") | 569 | read_student_intership_excel = student_select_intership_running_excle.read_excel_location("C3") |
570 | read_student_intership_excel_d = student_select_intership_running_excle.read_excel_location("E3") # 读取params | 570 | read_student_intership_excel_d = student_select_intership_running_excle.read_excel_location("E3") # 读取params |
请
注册
或
登录
后发表评论