正在显示
3 个修改的文件
包含
163 行增加
和
21 行删除
.gitignore
0 → 100644
| 1 | +### Python template | ||
| 2 | +# Byte-compiled / optimized / DLL files | ||
| 3 | +__pycache__/ | ||
| 4 | +*.py[cod] | ||
| 5 | +*$py.class | ||
| 6 | + | ||
| 7 | +# C extensions | ||
| 8 | +*.so | ||
| 9 | + | ||
| 10 | +# Distribution / packaging | ||
| 11 | +.Python | ||
| 12 | +build/ | ||
| 13 | +develop-eggs/ | ||
| 14 | +dist/ | ||
| 15 | +downloads/ | ||
| 16 | +eggs/ | ||
| 17 | +.eggs/ | ||
| 18 | +lib/ | ||
| 19 | +lib64/ | ||
| 20 | +parts/ | ||
| 21 | +sdist/ | ||
| 22 | +var/ | ||
| 23 | +wheels/ | ||
| 24 | +share/python-wheels/ | ||
| 25 | +*.egg-info/ | ||
| 26 | +.installed.cfg | ||
| 27 | +*.egg | ||
| 28 | +MANIFEST | ||
| 29 | + | ||
| 30 | +# PyInstaller | ||
| 31 | +# Usually these files are written by a python script from a template | ||
| 32 | +# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
| 33 | +*.manifest | ||
| 34 | +*.spec | ||
| 35 | + | ||
| 36 | +# Installer logs | ||
| 37 | +pip-log.txt | ||
| 38 | +pip-delete-this-directory.txt | ||
| 39 | + | ||
| 40 | +# Unit test / coverage reports | ||
| 41 | +htmlcov/ | ||
| 42 | +.tox/ | ||
| 43 | +.nox/ | ||
| 44 | +.coverage | ||
| 45 | +.coverage.* | ||
| 46 | +.cache | ||
| 47 | +nosetests.xml | ||
| 48 | +coverage.xml | ||
| 49 | +*.cover | ||
| 50 | +*.py,cover | ||
| 51 | +.hypothesis/ | ||
| 52 | +.pytest_cache/ | ||
| 53 | +cover/ | ||
| 54 | + | ||
| 55 | +# Translations | ||
| 56 | +*.mo | ||
| 57 | +*.pot | ||
| 58 | + | ||
| 59 | +# Django stuff: | ||
| 60 | +*.log | ||
| 61 | +local_settings.py | ||
| 62 | +db.sqlite3 | ||
| 63 | +db.sqlite3-journal | ||
| 64 | + | ||
| 65 | +# Flask stuff: | ||
| 66 | +instance/ | ||
| 67 | +.webassets-cache | ||
| 68 | + | ||
| 69 | +# Scrapy stuff: | ||
| 70 | +.scrapy | ||
| 71 | + | ||
| 72 | +# Sphinx documentation | ||
| 73 | +docs/_build/ | ||
| 74 | + | ||
| 75 | +# PyBuilder | ||
| 76 | +.pybuilder/ | ||
| 77 | +target/ | ||
| 78 | + | ||
| 79 | +# Jupyter Notebook | ||
| 80 | +.ipynb_checkpoints | ||
| 81 | + | ||
| 82 | +# IPython | ||
| 83 | +profile_default/ | ||
| 84 | +ipython_config.py | ||
| 85 | + | ||
| 86 | +# pyenv | ||
| 87 | +# For a library or package, you might want to ignore these files since the code is | ||
| 88 | +# intended to run in multiple environments; otherwise, check them in: | ||
| 89 | +# .python-version | ||
| 90 | + | ||
| 91 | +# pipenv | ||
| 92 | +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
| 93 | +# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
| 94 | +# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
| 95 | +# install all needed dependencies. | ||
| 96 | +#Pipfile.lock | ||
| 97 | + | ||
| 98 | +# PEP 582; used by e.g. github.com/David-OConnor/pyflow | ||
| 99 | +__pypackages__/ | ||
| 100 | + | ||
| 101 | +# Celery stuff | ||
| 102 | +celerybeat-schedule | ||
| 103 | +celerybeat.pid | ||
| 104 | + | ||
| 105 | +# SageMath parsed files | ||
| 106 | +*.sage.py | ||
| 107 | + | ||
| 108 | +# Environments | ||
| 109 | +.env | ||
| 110 | +.venv | ||
| 111 | +env/ | ||
| 112 | +venv/ | ||
| 113 | +ENV/ | ||
| 114 | +env.bak/ | ||
| 115 | +venv.bak/ | ||
| 116 | + | ||
| 117 | +# Spyder project settings | ||
| 118 | +.spyderproject | ||
| 119 | +.spyproject | ||
| 120 | + | ||
| 121 | +# Rope project settings | ||
| 122 | +.ropeproject | ||
| 123 | + | ||
| 124 | +# mkdocs documentation | ||
| 125 | +/site | ||
| 126 | + | ||
| 127 | +# mypy | ||
| 128 | +.mypy_cache/ | ||
| 129 | +.dmypy.json | ||
| 130 | +dmypy.json | ||
| 131 | + | ||
| 132 | +# Pyre type checker | ||
| 133 | +.pyre/ | ||
| 134 | + | ||
| 135 | +# pytype static type analyzer | ||
| 136 | +.pytype/ | ||
| 137 | + | ||
| 138 | +# Cython debug symbols | ||
| 139 | +cython_debug/ | ||
| 140 | + |
| 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.0.0 实习教务管理"> | ||
| 5 | - <change afterPath="$PROJECT_DIR$/tools/fixture.py" afterDir="false" /> | 4 | + <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="1.0.1 1.新增fixture.py 2.新增查看院系接口测试用例 4.新增整理Excel表格数据入参问题 3.代码优化"> |
| 5 | + <change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" /> | ||
| 6 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | 6 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
| 7 | - <change beforePath="$PROJECT_DIR$/.idea/yxly2.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/yxly2.iml" afterDir="false" /> | ||
| 8 | - <change beforePath="$PROJECT_DIR$/data/system/test_02_department.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_department.xlsx" afterDir="false" /> | ||
| 9 | - <change beforePath="$PROJECT_DIR$/data/system/test_03_specialty.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_03_specialty.xlsx" afterDir="false" /> | ||
| 10 | - <change beforePath="$PROJECT_DIR$/data/system/test_04_term.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_04_term.xlsx" afterDir="false" /> | ||
| 11 | - <change beforePath="$PROJECT_DIR$/data/test_01_login.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/test_01_login.xlsx" afterDir="false" /> | ||
| 12 | - <change beforePath="$PROJECT_DIR$/logs/log.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/log.log" afterDir="false" /> | ||
| 13 | - <change beforePath="$PROJECT_DIR$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" /> | ||
| 14 | - <change beforePath="$PROJECT_DIR$/report/report.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report.html" afterDir="false" /> | ||
| 15 | <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" /> | 7 | <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" afterPath="$PROJECT_DIR$/run.py" afterDir="false" /> |
| 16 | - <change beforePath="$PROJECT_DIR$/testcase/test_01_login.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_01_login.py" afterDir="false" /> | ||
| 17 | - <change beforePath="$PROJECT_DIR$/testcase/test_02_system_management.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_02_system_management.py" afterDir="false" /> | ||
| 18 | - <change beforePath="$PROJECT_DIR$/testcase/test_03_teaching_affairs.py" beforeDir="false" afterPath="$PROJECT_DIR$/testcase/test_03_teaching_affairs.py" afterDir="false" /> | ||
| 19 | </list> | 8 | </list> |
| 20 | <option name="SHOW_DIALOG" value="false" /> | 9 | <option name="SHOW_DIALOG" value="false" /> |
| 21 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> | 10 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
| @@ -41,6 +30,12 @@ | @@ -41,6 +30,12 @@ | ||
| 41 | </option> | 30 | </option> |
| 42 | </component> | 31 | </component> |
| 43 | <component name="Git.Settings"> | 32 | <component name="Git.Settings"> |
| 33 | + <option name="PUSH_TAGS"> | ||
| 34 | + <GitPushTagMode> | ||
| 35 | + <option name="argument" value="--tags" /> | ||
| 36 | + <option name="title" value="All" /> | ||
| 37 | + </GitPushTagMode> | ||
| 38 | + </option> | ||
| 44 | <option name="RECENT_BRANCH_BY_REPOSITORY"> | 39 | <option name="RECENT_BRANCH_BY_REPOSITORY"> |
| 45 | <map> | 40 | <map> |
| 46 | <entry key="$PROJECT_DIR$" value="master" /> | 41 | <entry key="$PROJECT_DIR$" value="master" /> |
| @@ -59,7 +54,7 @@ | @@ -59,7 +54,7 @@ | ||
| 59 | <property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> | 54 | <property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> |
| 60 | <property name="WebServerToolWindowFactoryState" value="false" /> | 55 | <property name="WebServerToolWindowFactoryState" value="false" /> |
| 61 | <property name="last_opened_file_path" value="$PROJECT_DIR$/tools" /> | 56 | <property name="last_opened_file_path" value="$PROJECT_DIR$/tools" /> |
| 62 | - <property name="settings.editor.selected.configurable" value="fileTemplates" /> | 57 | + <property name="settings.editor.selected.configurable" value="preferences.pluginManager" /> |
| 63 | </component> | 58 | </component> |
| 64 | <component name="RecentsManager"> | 59 | <component name="RecentsManager"> |
| 65 | <key name="CopyFile.RECENT_KEYS"> | 60 | <key name="CopyFile.RECENT_KEYS"> |
| @@ -143,8 +138,8 @@ | @@ -143,8 +138,8 @@ | ||
| 143 | </configuration> | 138 | </configuration> |
| 144 | <list> | 139 | <list> |
| 145 | <item itemvalue="Python.run" /> | 140 | <item itemvalue="Python.run" /> |
| 146 | - <item itemvalue="Python tests.Unittests in test_02_system_management.py" /> | ||
| 147 | <item itemvalue="Python.fixture" /> | 141 | <item itemvalue="Python.fixture" /> |
| 142 | + <item itemvalue="Python tests.Unittests in test_02_system_management.py" /> | ||
| 148 | <item itemvalue="Python tests.Unittests in fixture.py" /> | 143 | <item itemvalue="Python tests.Unittests in fixture.py" /> |
| 149 | </list> | 144 | </list> |
| 150 | <recent_temporary> | 145 | <recent_temporary> |
| @@ -168,7 +163,8 @@ | @@ -168,7 +163,8 @@ | ||
| 168 | <workItem from="1671543239346" duration="1090000" /> | 163 | <workItem from="1671543239346" duration="1090000" /> |
| 169 | <workItem from="1671554332302" duration="650000" /> | 164 | <workItem from="1671554332302" duration="650000" /> |
| 170 | <workItem from="1671612580435" duration="100000" /> | 165 | <workItem from="1671612580435" duration="100000" /> |
| 171 | - <workItem from="1671612709033" duration="16667000" /> | 166 | + <workItem from="1671612709033" duration="18069000" /> |
| 167 | + <workItem from="1671637473856" duration="796000" /> | ||
| 172 | </task> | 168 | </task> |
| 173 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> | 169 | <task id="LOCAL-00001" summary="1.0.0 首次提交"> |
| 174 | <created>1671544396986</created> | 170 | <created>1671544396986</created> |
| @@ -177,7 +173,14 @@ | @@ -177,7 +173,14 @@ | ||
| 177 | <option name="project" value="LOCAL" /> | 173 | <option name="project" value="LOCAL" /> |
| 178 | <updated>1671544396986</updated> | 174 | <updated>1671544396986</updated> |
| 179 | </task> | 175 | </task> |
| 180 | - <option name="localTasksCounter" value="2" /> | 176 | + <task id="LOCAL-00002" summary="1.0.1 1.新增fixture.py 2.新增查看院系接口测试用例 4.新增整理Excel表格数据入参问题 3.代码优化"> |
| 177 | + <created>1671636040241</created> | ||
| 178 | + <option name="number" value="00002" /> | ||
| 179 | + <option name="presentableId" value="LOCAL-00002" /> | ||
| 180 | + <option name="project" value="LOCAL" /> | ||
| 181 | + <updated>1671636040241</updated> | ||
| 182 | + </task> | ||
| 183 | + <option name="localTasksCounter" value="3" /> | ||
| 181 | <servers /> | 184 | <servers /> |
| 182 | </component> | 185 | </component> |
| 183 | <component name="TypeScriptGeneratedFilesManager"> | 186 | <component name="TypeScriptGeneratedFilesManager"> |
| @@ -209,7 +212,8 @@ | @@ -209,7 +212,8 @@ | ||
| 209 | </component> | 212 | </component> |
| 210 | <component name="VcsManagerConfiguration"> | 213 | <component name="VcsManagerConfiguration"> |
| 211 | <MESSAGE value="1.0.0 首次提交" /> | 214 | <MESSAGE value="1.0.0 首次提交" /> |
| 212 | - <option name="LAST_COMMIT_MESSAGE" value="1.0.0 首次提交" /> | 215 | + <MESSAGE value="1.0.1 1.新增fixture.py 2.新增查看院系接口测试用例 4.新增整理Excel表格数据入参问题 3.代码优化" /> |
| 216 | + <option name="LAST_COMMIT_MESSAGE" value="1.0.1 1.新增fixture.py 2.新增查看院系接口测试用例 4.新增整理Excel表格数据入参问题 3.代码优化" /> | ||
| 213 | </component> | 217 | </component> |
| 214 | <component name="XDebuggerManager"> | 218 | <component name="XDebuggerManager"> |
| 215 | <breakpoint-manager> | 219 | <breakpoint-manager> |
| @@ -33,7 +33,6 @@ runner.run() | @@ -33,7 +33,6 @@ runner.run() | ||
| 33 | """ | 33 | """ |
| 34 | 发送邮件 | 34 | 发送邮件 |
| 35 | """ | 35 | """ |
| 36 | -""" | ||
| 37 | # QQ邮箱SMTP服务器地址为“smtp.qq.com” | 36 | # QQ邮箱SMTP服务器地址为“smtp.qq.com” |
| 38 | # 163邮箱smtp.163.com 465 | 37 | # 163邮箱smtp.163.com 465 |
| 39 | # 阿里云smtp.qiye.aliyun.com 465 | 38 | # 阿里云smtp.qiye.aliyun.com 465 |
| @@ -41,6 +40,5 @@ runner.send_email(host="smtp.qiye.aliyun.com", | @@ -41,6 +40,5 @@ runner.send_email(host="smtp.qiye.aliyun.com", | ||
| 41 | port=465, | 40 | port=465, |
| 42 | user="shishut@workai.com.cn", | 41 | user="shishut@workai.com.cn", |
| 43 | password="mKh50p89DqvqJ7pd", | 42 | password="mKh50p89DqvqJ7pd", |
| 44 | - to_addrs=["1171621168@qq.com", "1109927930@qq.com", "shishut@workai.com.cn"] | 43 | + to_addrs=["1171621168@qq.com", "shishut@workai.com.cn"] |
| 45 | ) | 44 | ) |
| 46 | -""" |
请
注册
或
登录
后发表评论