正在显示
2 个修改的文件
包含
6 行增加
和
24 行删除
@@ -3,24 +3,6 @@ | @@ -3,24 +3,6 @@ | ||
3 | <component name="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.优化老师身份证信息"> | 4 | <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.优化老师身份证信息"> |
5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | 5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
6 | - <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_07_apply_audit.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_07_apply_audit.xlsx" afterDir="false" /> | ||
7 | - <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_08_log_marking.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_08_log_marking.xlsx" afterDir="false" /> | ||
8 | - <change beforePath="$PROJECT_DIR$/data/Internship_manage/test_09_leave_record.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_manage/test_09_leave_record.xlsx" afterDir="false" /> | ||
9 | - <change beforePath="$PROJECT_DIR$/data/Internship_preparation/test_04_internship_plan.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_preparation/test_04_internship_plan.xlsx" afterDir="false" /> | ||
10 | - <change beforePath="$PROJECT_DIR$/data/Internship_preparation/test_05_internship_project.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/Internship_preparation/test_05_internship_project.xlsx" afterDir="false" /> | ||
11 | - <change beforePath="$PROJECT_DIR$/data/student_practice/test_06__practice.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/student_practice/test_06__practice.xlsx" afterDir="false" /> | ||
12 | - <change beforePath="$PROJECT_DIR$/data/system/test_02_department.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_department.xlsx" afterDir="false" /> | ||
13 | - <change beforePath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" afterDir="false" /> | ||
14 | - <change beforePath="$PROJECT_DIR$/data/system/test_02_term.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_term.xlsx" afterDir="false" /> | ||
15 | - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_class.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_class.xlsx" afterDir="false" /> | ||
16 | - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_course.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_course.xlsx" afterDir="false" /> | ||
17 | - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_student.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_student.xlsx" afterDir="false" /> | ||
18 | - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_teacher.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_teacher.xlsx" afterDir="false" /> | ||
19 | - <change beforePath="$PROJECT_DIR$/data/test_01_login.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/test_01_login.xlsx" afterDir="false" /> | ||
20 | - <change beforePath="$PROJECT_DIR$/logs/log.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/log.log" afterDir="false" /> | ||
21 | - <change beforePath="$PROJECT_DIR$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" /> | ||
22 | - <change beforePath="$PROJECT_DIR$/report/report1.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report1.html" afterDir="false" /> | ||
23 | - <change beforePath="$PROJECT_DIR$/tools/function.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/function.py" afterDir="false" /> | ||
24 | </list> | 6 | </list> |
25 | <option name="SHOW_DIALOG" value="false" /> | 7 | <option name="SHOW_DIALOG" value="false" /> |
26 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> | 8 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
@@ -87,7 +69,7 @@ | @@ -87,7 +69,7 @@ | ||
87 | <recent name="$PROJECT_DIR$/tools" /> | 69 | <recent name="$PROJECT_DIR$/tools" /> |
88 | </key> | 70 | </key> |
89 | </component> | 71 | </component> |
90 | - <component name="RunManager" selected="Python.run"> | 72 | + <component name="RunManager" selected="Python.fixture"> |
91 | <configuration name="fixture" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> | 73 | <configuration name="fixture" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> |
92 | <module name="yxly2" /> | 74 | <module name="yxly2" /> |
93 | <option name="INTERPRETER_OPTIONS" value="" /> | 75 | <option name="INTERPRETER_OPTIONS" value="" /> |
@@ -193,8 +175,8 @@ | @@ -193,8 +175,8 @@ | ||
193 | </list> | 175 | </list> |
194 | <recent_temporary> | 176 | <recent_temporary> |
195 | <list> | 177 | <list> |
196 | - <item itemvalue="Python.run" /> | ||
197 | <item itemvalue="Python.fixture" /> | 178 | <item itemvalue="Python.fixture" /> |
179 | + <item itemvalue="Python.run" /> | ||
198 | <item itemvalue="Python tests.Unittests in test_06_internship_manage.py" /> | 180 | <item itemvalue="Python tests.Unittests in test_06_internship_manage.py" /> |
199 | <item itemvalue="Python tests.Unittests in test_04_Internship_preparation.py" /> | 181 | <item itemvalue="Python tests.Unittests in test_04_Internship_preparation.py" /> |
200 | <item itemvalue="Python.handle_token" /> | 182 | <item itemvalue="Python.handle_token" /> |
@@ -287,7 +269,7 @@ | @@ -287,7 +269,7 @@ | ||
287 | <workItem from="1690248894302" duration="5537000" /> | 269 | <workItem from="1690248894302" duration="5537000" /> |
288 | <workItem from="1690335249246" duration="4289000" /> | 270 | <workItem from="1690335249246" duration="4289000" /> |
289 | <workItem from="1690422699671" duration="7635000" /> | 271 | <workItem from="1690422699671" duration="7635000" /> |
290 | - <workItem from="1690507951820" duration="1719000" /> | 272 | + <workItem from="1690507951820" duration="2606000" /> |
291 | </task> | 273 | </task> |
292 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> | 274 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> |
293 | <created>1671544396986</created> | 275 | <created>1671544396986</created> |
@@ -80,9 +80,9 @@ class RandomIdentification(object): | @@ -80,9 +80,9 @@ class RandomIdentification(object): | ||
80 | def ran(self): | 80 | def ran(self): |
81 | # 随机生成年月日 | 81 | # 随机生成年月日 |
82 | # aaa = radar.random_date("1980", "2022") | 82 | # aaa = radar.random_date("1980", "2022") |
83 | - aaa = radar.random_date("1999", "2021") | ||
84 | - yea = aaa.year # 生成年 | ||
85 | - | 83 | + # aaa = radar.random_date("1999", "2021") |
84 | + # yea = aaa.year # 生成年 | ||
85 | + yea = random.randint(1999, 2022) | ||
86 | 86 | ||
87 | # yea = random.randint(1933, int(time.strftime("%Y"))) # 生成年 | 87 | # yea = random.randint(1933, int(time.strftime("%Y"))) # 生成年 |
88 | # 生成月 | 88 | # 生成月 |
请
注册
或
登录
后发表评论