提交 91efd421f81c2c98c4cc92c0c021549457741ae3

作者 Shishutong
1 个父辈 48f6adfd

1.run

  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="GitToolBoxProjectSettings">
  4 + <option name="commitMessageIssueKeyValidationOverride">
  5 + <BoolValueOverride>
  6 + <option name="enabled" value="true" />
  7 + </BoolValueOverride>
  8 + </option>
  9 + <option name="commitMessageValidationEnabledOverride">
  10 + <BoolValueOverride>
  11 + <option name="enabled" value="true" />
  12 + </BoolValueOverride>
  13 + </option>
  14 + </component>
  15 +</project>
\ No newline at end of file
... ...
... ... @@ -2,32 +2,8 @@
2 2 <project version="4">
3 3 <component name="ChangeListManager">
4 4 <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.项目维护">
5   - <change afterPath="$PROJECT_DIR$/data/Internship_manage/test_08_log_marking.xlsx" afterDir="false" />
6   - <change afterPath="$PROJECT_DIR$/data/Internship_manage/test_09_leave_record.xlsx" afterDir="false" />
  5 + <change afterPath="$PROJECT_DIR$/.idea/git_toolbox_prj.xml" afterDir="false" />
7 6 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
8   - <change beforePath="$PROJECT_DIR$/conf/config.ini" beforeDir="false" afterPath="$PROJECT_DIR$/conf/config.ini" afterDir="false" />
9   - <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" />
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$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" />
22   - <change beforePath="$PROJECT_DIR$/report/report2.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report2.html" afterDir="false" />
23   - <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" />
24   - <change beforePath="$PROJECT_DIR$/testcase/test_03_teaching_affairs.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_03_teaching_affairs.py" afterDir="false" />
25   - <change beforePath="$PROJECT_DIR$/testcase/test_04_Internship_preparation.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_04_Internship_preparation.py" afterDir="false" />
26   - <change beforePath="$PROJECT_DIR$/testcase/test_05_student_practice.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_05_student_practice.py" afterDir="false" />
27   - <change beforePath="$PROJECT_DIR$/testcase/test_06_internship_manage.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_06_internship_manage.py" afterDir="false" />
28   - <change beforePath="$PROJECT_DIR$/tools/fixture.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/fixture.py" afterDir="false" />
29   - <change beforePath="$PROJECT_DIR$/tools/function.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/function.py" afterDir="false" />
30   - <change beforePath="$PROJECT_DIR$/tools/handle_token.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/handle_token.py" afterDir="false" />
31 7 </list>
32 8 <option name="SHOW_DIALOG" value="false" />
33 9 <option name="HIGHLIGHT_CONFLICTS" value="true" />
... ... @@ -77,6 +53,7 @@
77 53 <component name="PropertiesComponent">
78 54 <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
79 55 <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
  56 + <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
80 57 <property name="WebServerToolWindowFactoryState" value="false" />
81 58 <property name="last_opened_file_path" value="$PROJECT_DIR$/data/Internship_preparation" />
82 59 <property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
... ... @@ -286,7 +263,7 @@
286 263 <workItem from="1689730508198" duration="11129000" />
287 264 <workItem from="1689816981406" duration="4617000" />
288 265 <workItem from="1689903460923" duration="538000" />
289   - <workItem from="1690180441280" duration="301000" />
  266 + <workItem from="1690180441280" duration="1652000" />
290 267 </task>
291 268 <task id="LOCAL-00001" summary="1.0.0&#10;首次提交">
292 269 <created>1671544396986</created>
... ... @@ -449,7 +426,14 @@
449 426 <option name="project" value="LOCAL" />
450 427 <updated>1676453939322</updated>
451 428 </task>
452   - <option name="localTasksCounter" value="24" />
  429 + <task id="LOCAL-00024" summary="1.项目维护">
  430 + <created>1690180769402</created>
  431 + <option name="number" value="00024" />
  432 + <option name="presentableId" value="LOCAL-00024" />
  433 + <option name="project" value="LOCAL" />
  434 + <updated>1690180769402</updated>
  435 + </task>
  436 + <option name="localTasksCounter" value="25" />
453 437 <servers />
454 438 </component>
455 439 <component name="TypeScriptGeneratedFilesManager">
... ... @@ -501,7 +485,8 @@
501 485 <MESSAGE value="版本:1.0.12&#10;1.优化hr登陆问题" />
502 486 <MESSAGE value="版本:1.0.13&#10;1.封装生成身份证&quot;年&quot;" />
503 487 <MESSAGE value="版本:1.0.14&#10;1.学生端进行选择开始实习时间&#10;2.生成实习单,当前学生进入实习中" />
504   - <option name="LAST_COMMIT_MESSAGE" value="版本:1.0.14&#10;1.学生端进行选择开始实习时间&#10;2.生成实习单,当前学生进入实习中" />
  488 + <MESSAGE value="1.项目维护" />
  489 + <option name="LAST_COMMIT_MESSAGE" value="1.项目维护" />
505 490 </component>
506 491 <component name="XDebuggerManager">
507 492 <breakpoint-manager>
... ...
... ... @@ -5,6 +5,10 @@
5 5 # @FileName: run.py
6 6 # @Software: PyCharm
7 7
  8 +
  9 +import sys
  10 +import os
  11 +
8 12 import unittest
9 13 from tools.function import runner_test
10 14 from common.handle_path import TestCase_Path, Report_Path
... ... @@ -25,6 +29,10 @@ from testcase.test_06_internship_manage import Test01SelectApplyAuditList, Test0
25 29 """
26 30 执行所有用例
27 31 """
  32 +curPath = os.path.abspath(os.path.dirname(__file__))
  33 +rootPath = os.path.split(curPath)[0]
  34 +sys.path.append(rootPath)
  35 +
28 36 # 创建测试套件
29 37 suite_all = unittest.TestSuite()
30 38 # 加载用例
... ...
注册登录 后发表评论