<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>测试报告</title> <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.5.0/css/bootstrap.min.css"> <script src=" https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script> <script src="https://cdn.staticfile.org/echarts/5.1.2/echarts.min.js"></script> <!-- 页面样式--> <style type="text/css"> /*标题样式*/ .title { width: auto; height: 60px; text-align: center; font: bolder 38px/60px "Microsoft YaHei UI"; } /*汇总信息样式*/ .summary { width: 90%; position: absolute; top: 120px; margin-left: 5%; } .text-left { font: bolder 20px/30px "Microsoft YaHei UI"; } .left { width: 50%; float: left; } .right { width: 50%; float: right; } .desc { float: left; width: 100%; } .list-group-item span { font: normal 16px/38px "Microsoft YaHei UI"; padding: 30px; } .list-group-item { position: relative; display: block; padding: .4rem 1.25rem; background-color: #fff; border: 1px solid rgba(0, 0, 0, .125); } /* 执行信息样式 */ .test_info { width: 90%; position: absolute; top: 900px; margin-left: 5%; color: #28a745 !important; } .table td, th { border: solid 2px rgba(9, 122, 51, 0.11) !important; padding: 0; line-height: 40px; text-align: center; } select { border: 0; padding: 0; margin: 0; height: 2em; width: 8em; margin-left: 2em; } option { text-align: center; height: 36px; font: none 18px/36px "Microsoft YaHei UI"; color: #28a745 !important; } .test_log { background: rgba(163, 171, 189, 0.15); width: 100%; height: 50px; border-top: none; border-bottom: none; display: none; text-align: left; } .test_log td { text-align: left; height: 30px; margin: 0; padding-left: 3em; padding-right:3em; font: none 18px/24px "Microsoft YaHei UI"; color: #9e141a; } pre { margin: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; line-height: 22px; font-size: 14px } /* 测试图表显示*/ .char { width: 90%; position: absolute; top: 450px; margin-left: 5%; color: #28a745 !important; } </style> </head> <body> <!--报告标题--> <div class="title text-success"> <div class="shadow-lg p-3 mb-5 bg-white rounded">优学乐业测试报告</div> </div> <!--汇总信息--> <div class="summary"> <p class="text-left text-success">测试结果汇总</p> <div class="left"> <ul class="list-group"> <li class="list-group-item"> <button type="button" class="btn btn-success">测试人员</button> <span class="text-dark">石头</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-success">开始时间</button> <span class="text-dark">2023-06-25 13:54:10</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-success">执行时间</button> <span class="text-dark">208.10 S</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-success">用例总数</button> <span class="text-dark">183</span> </li> </ul> </div> <div class="right"> <ul class="list-group"> <li class="list-group-item"> <button type="button" class="btn btn-success">成功用例</button> <span class="text-success">151</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-warning">失败用例</button> <span class="text-warning">5</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-danger">错误用例</button> <span class="text-danger">27</span> </li> <li class="list-group-item"> <button type="button" class="btn btn-secondary">跳过用例</button> <span class="text-secondary">0</span> </li> </ul> </div> <div class="desc"> <ul class="list-group"> <li class="list-group-item"> <button type="button" class="btn btn-success">描述信息</button> <span class="text-secondary">优学乐业测试报告</span> </li> </ul> </div> </div> <!--测试图表--> <div class="char"> <p class="text-left text-success">图表展示</p> <div id="char2" style="width: 49%;height: 400px;float: left"></div> <div id="char" style="width: 49%;height: 400px ;float: left"></div> </div> <!--详细信息--> <div class="test_info"> <p class="text-left text-success">详细信息</p> <div class="table_data"> <table class="table"> <thead class="bg-success text-light"> <tr> <th scope="col" style="width: 5%;padding: 0">编号</th> <th scope="col" style="width: 20%;padding: 0"> <span>测试类</span> <select id="testClass"> <option>所有</option> <option>Test07StudentWriteLog</option> <option>Test01addInternshipPlan</option> <option>Test05StudentIntenship</option> <option>Test01Teacher</option> <option>Test11TeacherAprove</option> <option>Test06SchoolSelectApply</option> <option>Test03Course</option> <option>Test02publishInternshipPlan</option> <option>Test02Specialty</option> <option>Test02SchoolAudit</option> <option>Test09Attendance</option> <option>Test04publishInternshipProject</option> <option>Test03Year</option> <option>TestLogin</option> <option>Test03addInternshipProject</option> <option>Test02Class</option> <option>Test08ApproveLog</option> <option>Test01Department</option> <option>Test01SelectApplyAuditList</option> <option>Test10LeaveRecord</option> <option>Test01SelectAllPractice</option> <option>Test04Student</option> </select> </th> <th scope="col" style="width: 15%;padding: 0">测试方法</th> <th scope="col" style="width: 20%;padding: 0">用例描述</th> <th scope="col" style="width: 15%;padding: 0">执行时间</th> <th scope="col" style="width: 20%;padding: 0"> <span>执行结果</span> <select id="testResult"> <option>所有</option> <option class="text-success">成功</option> <option class="text-warning">失败</option> <option class="text-danger">错误</option> <option class="text-info">跳过</option> </select> </th> <th scope="col" style="width: 10%;padding: 0">详细信息</th> </tr> </thead> <tbody> <tr> <td>1</td> <td class="TestLogin">TestLogin</td> <td>test_login_1</td> <td>登陆成功</td> <td>0.483s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'way': 'name', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher', 'username': '17301249975', 'schoolId': '1519958566130257922'} 预期结果:{'msg': 'success', 'code': 200} 实际结果:{'msg': 'success', 'code': 200, 'data': {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRUeXBlIjoiIiwidXNlcl9uYW1lIjoiMTczMDEyNDk5NzUiLCJ0eXBlIjoidGVhY2hlciIsImNsaWVudF9pZCI6IndvcmthaSIsInN0dWRlbnRJZCI6IiIsInRlbmFudE5hbWUiOiIiLCJzY2hvb2xTb3VyY2UiOiJ3b3JrYWkiLCJzY29wZSI6WyJhbGwiXSwic2Nob29sSWQiOiIxNTE5OTU4NTY2MTMwMjU3OTIyIiwic3R1ZGVudFN0YXR1cyI6IiIsImV4cCI6MTY4NzcwODQ1MCwic2Nob29sTmFtZSI6Iua1i-ivleWkp-Wtpl_oh6rliqjljJbkuJPnlKgiLCJqdGkiOiJGUTBMZnRrRFhXcFZlZFdVTXIwUk45Z0M1dVUiLCJicm9rZXJJZCI6IiIsImhyb1VzZXJUb2tlbiI6bnVsbCwib3BlblVzZXJUb2tlbiI6bnVsbCwiYXV0aFN0YXR1cyI6IiIsImF1dGhlbnRpY2F0aW9uSWRlbnRpdHkiOiJsb2dpbiIsInVzZXJJZCI6IjE1MTk5NTkyMDg1Mjk4NjY3NTMiLCJzY2hvb2xSb2xsU3RhdHVzIjoiIiwidGVhY2hlcklkIjoiMTUxOTk1OTIwOTI3NjQ1Mjg2NSIsInBob25lIjoiMTczMDEyNDk5NzUiLCJ0ZW5hbnRJZCI6IiIsIm5hbWUiOiLmoKHplb8iLCJzdGF0dXMiOiJhY3RpdmUifQ.BDtpwM4PdzwLbxya9BhNpzMiQdpU4dSzf1eIV-Go8vc5Kcd95uejGB0CAQ476JsW1h4ymmiP2FbwnAbVA8-ZCkHTB0P0__btYq5pCGMtVUUeqykK5FrA9jsUK2cGiONKsjy2kQY5agxXMIApClCVnQ93LLCf3lcEmpVrIHcM5y0me8Zsm5-juk7OIJLPSSpCR6nvlCx-HoPg__CepsSwVaVp8HqEnPdsKRe16WKWreiZQL-cODB21M7URQTj5urmYNrghowYvz1isH5jJXZ13qF9w9nYJ-PKSUQVWHAmIvFlVxtjxIvYM9Jzpcccey7vwS8pc__n6bqz7QQAqcZqWg', 'token_type': 'bearer', 'refresh_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRUeXBlIjoiIiwidXNlcl9uYW1lIjoiMTczMDEyNDk5NzUiLCJ0eXBlIjoidGVhY2hlciIsImNsaWVudF9pZCI6IndvcmthaSIsInN0dWRlbnRJZCI6IiIsInRlbmFudE5hbWUiOiIiLCJzY2hvb2xTb3VyY2UiOiJ3b3JrYWkiLCJzY29wZSI6WyJhbGwiXSwic2Nob29sSWQiOiIxNTE5OTU4NTY2MTMwMjU3OTIyIiwiYXRpIjoiRlEwTGZ0a0RYV3BWZWRXVU1yMFJOOWdDNXVVIiwic3R1ZGVudFN0YXR1cyI6IiIsImV4cCI6MTY4Nzc0NDQ1MCwic2Nob29sTmFtZSI6Iua1i-ivleWkp-Wtpl_oh6rliqjljJbkuJPnlKgiLCJqdGkiOiJrYjA0WW5rV1hlWTBkOXJCdXNaY0N1ajQ0R28iLCJicm9rZXJJZCI6IiIsImhyb1VzZXJUb2tlbiI6bnVsbCwib3BlblVzZXJUb2tlbiI6bnVsbCwiYXV0aFN0YXR1cyI6IiIsImF1dGhlbnRpY2F0aW9uSWRlbnRpdHkiOiJsb2dpbiIsInVzZXJJZCI6IjE1MTk5NTkyMDg1Mjk4NjY3NTMiLCJzY2hvb2xSb2xsU3RhdHVzIjoiIiwidGVhY2hlcklkIjoiMTUxOTk1OTIwOTI3NjQ1Mjg2NSIsInBob25lIjoiMTczMDEyNDk5NzUiLCJ0ZW5hbnRJZCI6IiIsIm5hbWUiOiLmoKHplb8iLCJzdGF0dXMiOiJhY3RpdmUifQ.FhzMBsxCXe8V2MICXREUqpmYSBwLmS6y170nqEmYcLw-9aDSEls_FtPPDVKSkbitl3uDwaFF706-Noscy3r_0vHpX9roHq-_vh3fEFY5pjk8WLFxplwZ2PP-cBRrDv19p4FZCqpFcgq5Xq1rQ5W9eDEamHY-G8dKh99Xqho4fWJ7LotSuxZCX4QQ-ye2gXMvTaBniJdOx9wc0xvWlzLK4MiWhaDwC4l6b4c4VNJxURAR43cvnn9US8DnZQtyf9OTJgDB4a_hIHyQowlk_tkwb0GbXUJm3PwNjjhv3hvKRjRlaAeX_JYYZhRvcg4987OUoD-ja9gE6RlkcjWMn1921A', 'expires_in': 35999, 'scope': 'all', 'tenantType': '', 'brokerId': '', 'hroUserToken': None, 'openUserToken': None, 'authStatus': '', 'authenticationIdentity': 'login', 'type': 'teacher', 'userId': '1519959208529866753', 'studentId': '', 'schoolRollStatus': '', 'teacherId': '1519959209276452865', 'tenantName': '', 'phone': '17301249975', 'schoolSource': 'workai', 'schoolId': '1519958566130257922', 'tenantId': '', 'name': '校长', 'studentStatus': '', 'schoolName': '测试大学_自动化专用', 'status': 'active', 'jti': 'FQ0LftkDXWpVedWUMr0RN9gC5uU'}} test_login_1 (test_01_login.TestLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>2</td> <td class="TestLogin">TestLogin</td> <td>test_login_2</td> <td>手机号填写错误的</td> <td>0.277s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'way': 'name', 'username': '17301149975', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher'} 预期结果:{'code': 500, 'data': None, 'msg': '用户不存在'} 实际结果:{'msg': '用户不存在', 'code': 500, 'data': None} test_login_2 (test_01_login.TestLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>3</td> <td class="TestLogin">TestLogin</td> <td>test_login_3</td> <td>手机号不进行填写</td> <td>0.221s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'way': 'name', 'username': '', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher'} 预期结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'} 实际结果:{'msg': '用户名和密码不能为空', 'code': 500, 'data': None} test_login_3 (test_01_login.TestLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>4</td> <td class="TestLogin">TestLogin</td> <td>test_login_4</td> <td>密码填写错误</td> <td>0.378s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'way': 'name', 'username': '17301249975', 'password': 'f85eea0e115e424aba8675f8848e2cb83', 'type': 'teacher'} 预期结果:{'code': 500, 'data': None, 'msg': '密码不正确'} 实际结果:{'msg': '密码不正确', 'code': 500, 'data': None} test_login_4 (test_01_login.TestLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>5</td> <td class="TestLogin">TestLogin</td> <td>test_login_5</td> <td>密码不进行填写</td> <td>0.214s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'way': 'name', 'username': '17301249975', 'password': '', 'type': 'teacher'} 预期结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'} 实际结果:{'msg': '用户名和密码不能为空', 'code': 500, 'data': None} test_login_5 (test_01_login.TestLogin)执行——>【通过】 </pre> </td> </tr> <tr> <td>6</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_1</td> <td>新增院系成功</td> <td>0.412s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化院系20230625_13:54:12_1', 'code': 'py_code20230625_13:54:12_1'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_department_1 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>7</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_2</td> <td>院系名称未填写</td> <td>0.292s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'code': 'py_code20230625_13:54:12_2'} 预期结果: {'msg': '院系名称不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '院系名称不能为空', 'code': 500, 'data': None} test_add_department_2 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>8</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_3</td> <td>院系名称重复</td> <td>0.267s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '院系1', 'code': 'py_code20230625_13:54:12_3'} 预期结果: {'msg': '院系名称已存在,请确认', 'code': 500, 'data': None} 实际结果: {'msg': '院系名称已存在,请确认', 'code': 500, 'data': None} test_add_department_3 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>9</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_4</td> <td>院系名称长度不可大于30位</td> <td>0.259s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '院系名称长度大于30的测试院系名称长度大于30的测试院系名称长度大于30的测试院系名称长度大于30的测试', 'code': 'py_code20230625_13:54:13_4'} 预期结果: {'msg': '院系名称长度不可大于30位', 'code': 500, 'data': None} 实际结果: {'msg': '院系名称长度不可大于30位', 'code': 500, 'data': None} test_add_department_4 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>10</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_5</td> <td>院系代码重复</td> <td>0.275s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化院系20230625_13:54:13_5', 'code': '批量导入院系'} 预期结果: {'msg': '院系代码已存在,请确认', 'code': 500, 'data': None} 实际结果: {'msg': '院系代码已存在,请确认', 'code': 500, 'data': None} test_add_department_5 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>11</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_6</td> <td>院系代码不能为空</td> <td>0.279s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化院系20230625_13:54:13_6', 'code': ''} 预期结果: {'msg': '院系代码不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '院系代码不能为空', 'code': 500, 'data': None} test_add_department_6 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>12</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_7</td> <td>院系代码长度不可大于30</td> <td>0.678s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化院系20230625_13:54:14_7', 'code': '院系代码长度大于30的测试院系代码长度大于30的测试院系代码长度大于30的测试'} 预期结果: {'msg': '院系代码长度不可大于30', 'code': 500, 'data': None} 实际结果: {'msg': '院系代码长度不可大于30', 'code': 500, 'data': None} test_add_department_7 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>13</td> <td class="Test01Department">Test01Department</td> <td>test_add_department_8</td> <td>新增院系成功</td> <td>0.276s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化院系20230625_13:54:14_8', 'code': 'py_code20230625_13:54:14_8'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_department_8 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>14</td> <td class="Test01Department">Test01Department</td> <td>test_select_department_1</td> <td>查看院系列表</td> <td>0.333s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'pageNumber': '0', 'pageSize': '3'} 预期结果: {'msg': 'success', 'code': 200} 实际结果: {'msg': 'success', 'code': 200, 'data': {'records': [{'id': '1519960493236785154', 'schoolId': '1519958566130257922', 'name': '第一院系-1-修改1', 'code': '第一院系-1', 'createdBy': '1519959209276452865', 'createdTime': 1651221796000, 'updatedBy': '1519959209276452865', 'updatedTime': 1653018193000}, {'id': '1519960538489131009', 'schoolId': '1519958566130257922', 'name': '第二院系-22', 'code': '第二院系-22', 'createdBy': '1519959209276452865', 'createdTime': 1651221807000, 'updatedBy': '1519959209276452865', 'updatedTime': 1652281988000}, {'id': '1519960582474797058', 'schoolId': '1519958566130257922', 'name': '第三院系-3', 'code': '第三院系-3', 'createdBy': '1519959209276452865', 'createdTime': 1651221817000, 'updatedBy': None, 'updatedTime': None}, {'id': '1522126666221019137', 'schoolId': '1519958566130257922', 'name': '大_批量导入院系', 'code': '大_批量导入院系', 'createdBy': '1519959209276452865', 'createdTime': 1651738252000, 'updatedBy': None, 'updatedTime': None}, {'id': '1522150977187188738', 'schoolId': '1519958566130257922', 'name': '批量导入院系', 'code': '批量导入院系', 'createdBy': '1519959209276452865', 'createdTime': 1651744048000, 'updatedBy': None, 'updatedTime': None}, {'id': '1524276366210510849', 'schoolId': '1519958566130257922', 'name': '流程sss', 'code': '流程sss', 'createdBy': '1519959209276452865', 'createdTime': 1652250780000, 'updatedBy': None, 'updatedTime': None}, {'id': '1527478217726754818', 'schoolId': '1519958566130257922', 'name': '添加缓存后', 'code': '添加缓存后', 'createdBy': '1519959209276452865', 'createdTime': 1653014161000, 'updatedBy': None, 'updatedTime': None}, {'id': '1527479106566881282', 'schoolId': '1519958566130257922', 'name': 'ssss添加缓存后-院系-1-修改1', 'code': 'ssss添加缓存后-院系-1-修改1', 'createdBy': '1519959209276452865', 'createdTime': 1653014373000, 'updatedBy': '1519959209276452865', 'updatedTime': 1653015920000}, {'id': '1537365491176304642', 'schoolId': '1519958566130257922', 'name': '院系1', 'code': '院系1', 'createdBy': '1519959209276452865', 'createdTime': 1655371471000, 'updatedBy': None, 'updatedTime': None}, {'id': '1537365542577500162', 'schoolId': '1519958566130257922', 'name': '院系2', 'code': '院系2', 'createdBy': '1519959209276452865', 'createdTime': 1655371483000, 'updatedBy': None, 'updatedTime': None}, {'id': '1537365589180411906', 'schoolId': '1519958566130257922', 'name': '院系3', 'code': '院系3', 'createdBy': '1519959209276452865', 'createdTime': 1655371494000, 'updatedBy': None, 'updatedTime': None}, {'id': '1537365618314047490', 'schoolId': '1519958566130257922', 'name': '院系4', 'code': '院系4', 'createdBy': '1519959209276452865', 'createdTime': 1655371501000, 'updatedBy': None, 'updatedTime': None}, {'id': '1537365645191147521', 'schoolId': '1519958566130257922', 'name': '院系5', 'code': '院系5', 'createdBy': '1519959209276452865', 'createdTime': 1655371507000, 'updatedBy': None, 'updatedTime': None}, {'id': '1537365671829172225', 'schoolId': '1519958566130257922', 'name': '院系6', 'code': '院系6', 'createdBy': '1519959209276452865', 'createdTime': 1655371514000, 'updatedBy': None, 'updatedTime': None}, {'id': '1537365714241974274', 'schoolId': '1519958566130257922', 'name': '院系7', 'code': '院系7', 'createdBy': '1519959209276452865', 'createdTime': 1655371524000, 'updatedBy': None, 'updatedTime': None}], 'total': 851, 'size': 15, 'current': 1, 'orders': [], 'optimizeCountSql': True, 'searchCount': True, 'countId': '', 'maxLimit': None, 'pages': 57}} test_select_department_1 (test_02_system_management.Test01Department)执行——>【通过】 </pre> </td> </tr> <tr> <td>15</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_01</td> <td>新增专业成功</td> <td>1.33s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:15_1', 'code': 'py_code13:54:15_1', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_specialty_01 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>16</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_02</td> <td>新增专业失败,院系未填写</td> <td>1.24s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:17_2', 'code': 'py_code13:54:17_2', 'departmentId': '', 'category': 'science'} 预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None} test_add_specialty_02 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>17</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_03</td> <td>新增专业失败,院系不存在</td> <td>1.25s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:18_3', 'code': 'py_code13:54:18_3', 'departmentId': '23232333333', 'category': 'science'} 预期结果: {'msg': '院系不存在', 'code': 500, 'data': None} 实际结果: {'msg': '院系不存在', 'code': 500, 'data': None} test_add_specialty_03 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>18</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_04</td> <td>新增专业失败,专业名称未填写</td> <td>1.21s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'code': 'py_code13:54:19_4', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': '专业名称不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '专业名称不能为空', 'code': 500, 'data': None} test_add_specialty_04 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>19</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_05</td> <td>专业名称长度不能大于30</td> <td>1.2s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '专业大于301234567890专业大于301234567890', 'code': 'py_code13:54:20_5', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': '专业名称长度不能大于30', 'code': 500, 'data': None} 实际结果: {'msg': '专业名称长度不能大于30', 'code': 500, 'data': None} test_add_specialty_05 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>20</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_06</td> <td>新增专业失败,专业名称重复</td> <td>1.19s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '第二个专业-2-1', 'code': 'py_code13:54:21_6', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': '专业名称已存在,请确认', 'code': 500, 'data': None} 实际结果: {'msg': '专业名称已存在,请确认', 'code': 500, 'data': None} test_add_specialty_06 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>21</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_07</td> <td>新增专业失败,专业代码重复</td> <td>1.16s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:23_7', 'code': '12', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': '专业代码已存在,请确认', 'code': 500, 'data': None} 实际结果: {'msg': '专业代码已存在,请确认', 'code': 500, 'data': None} test_add_specialty_07 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>22</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_08</td> <td>新增专业失败,专业代码未填写</td> <td>1.15s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:24_8', 'code': '', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': '专业代码不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '专业代码不能为空', 'code': 500, 'data': None} test_add_specialty_08 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>23</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_09</td> <td>新增专业失败,专业代码长度不能大于30</td> <td>1.29s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:25_9', 'code': '专业代码大于301234567890专业大于301234567890', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': '专业代码长度不能大于30', 'code': 500, 'data': None} 实际结果: {'msg': '专业代码长度不能大于30', 'code': 500, 'data': None} test_add_specialty_09 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>24</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_10</td> <td>新增专业失败,学科门类未填写</td> <td>1.12s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:26_10', 'code': 'py_code13:54:26_10', 'departmentId': '1672845638989377538', 'category': ''} 预期结果: {'msg': '学科门类不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学科门类不能为空', 'code': 500, 'data': None} test_add_specialty_10 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>25</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_11</td> <td>新增专业失败,学科门类填写错误</td> <td>1.19s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:27_11', 'code': 'py_code13:54:27_11', 'departmentId': '1672845638989377538', 'category': 'scienwce'} 预期结果: {'msg': '学科门类不存在', 'code': 500, 'data': None} 实际结果: {'msg': '学科门类不存在', 'code': 500, 'data': None} test_add_specialty_11 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>26</td> <td class="Test02Specialty">Test02Specialty</td> <td>test_add_specialty_12</td> <td>新增专业成功</td> <td>1.23s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py专业13:54:29_12', 'code': 'py_code13:54:29_12', 'departmentId': '1672845638989377538', 'category': 'science'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_specialty_12 (test_02_system_management.Test02Specialty)执行——>【通过】 </pre> </td> </tr> <tr> <td>27</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_1</td> <td>新增学年学期成功</td> <td>1.68s</td> <td class="text-warning">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:30_1', 'remark': 'py_comment备注13:54:30_1', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': '该学年已存在,请确认', 'code': 500, 'data': None} test_add_year_1 (test_02_system_management.Test03Year)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 269, in test_add_year raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 263, in test_add_year self.assertEqual(expected["msg"], res["msg"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: 'success' != '该学年已存在,请确认' - success + 该学年已存在,请确认 ================test_add_year_1 (test_02_system_management.Test03Year)重运行第1次================ 用例入参:{'year': 'py学年13:54:30_1', 'remark': 'py_comment备注13:54:30_1', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': '该学年已存在,请确认', 'code': 500, 'data': None} test_add_year_1 (test_02_system_management.Test03Year)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 269, in test_add_year raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 263, in test_add_year self.assertEqual(expected["msg"], res["msg"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: 'success' != '该学年已存在,请确认' - success + 该学年已存在,请确认 ================test_add_year_1 (test_02_system_management.Test03Year)重运行第2次================ 用例入参:{'year': 'py学年13:54:30_1', 'remark': 'py_comment备注13:54:30_1', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': '该学年已存在,请确认', 'code': 500, 'data': None} test_add_year_1 (test_02_system_management.Test03Year)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 269, in test_add_year raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 263, in test_add_year self.assertEqual(expected["msg"], res["msg"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: 'success' != '该学年已存在,请确认' - success + 该学年已存在,请确认 ================test_add_year_1 (test_02_system_management.Test03Year)重运行第3次================ 用例入参:{'year': 'py学年13:54:30_1', 'remark': 'py_comment备注13:54:30_1', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': '该学年已存在,请确认', 'code': 500, 'data': None} test_add_year_1 (test_02_system_management.Test03Year)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 269, in test_add_year raise e </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_02_system_management.py", line 263, in test_add_year self.assertEqual(expected["msg"], res["msg"]) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) </pre> <pre>AssertionError: 'success' != '该学年已存在,请确认' - success + 该学年已存在,请确认 </pre> </td> </tr> <tr> <td>28</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_2</td> <td>学年名称不可超过30字</td> <td>0.29s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': '1234567890123456789012345678901', 'remark': 'py_comment备注13:54:32_2', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': '学年长度不可大于30位', 'code': 500, 'data': None} 实际结果: {'msg': '学年长度不可大于30位', 'code': 500, 'data': None} test_add_year_2 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>29</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_3</td> <td>学年学期开始时间和结束时间不可交叉</td> <td>0.272s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:32_3', 'remark': 'py_comment备注13:54:32_3', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}, {'sort': 2, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': '学期起止时间不能交叉', 'code': 500, 'data': None} 实际结果: {'msg': '学期起止时间不能交叉', 'code': 500, 'data': None} test_add_year_3 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>30</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_4</td> <td>学年未填写</td> <td>0.263s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': '', 'remark': 'py_comment备注13:54:32_4', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': '学年不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学年不能为空', 'code': 500, 'data': None} test_add_year_4 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>31</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_5</td> <td>学期未填写</td> <td>0.277s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:33_5', 'remark': 'py_comment备注13:54:33_5', 'terms': [{'sort': '', 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': '学期排序不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学期排序不能为空', 'code': 500, 'data': None} test_add_year_5 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>32</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_6</td> <td>学期开始时间未填写</td> <td>0.284s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:33_6', 'remark': 'py_comment备注13:54:33_6', 'terms': [{'sort': 1, 'startTime': '', 'endTime': 1704115459000}]} 预期结果: {'msg': '学期开始时间不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学期开始时间不能为空', 'code': 500, 'data': None} test_add_year_6 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>33</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_7</td> <td>学期结束时间未填写</td> <td>0.286s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:33_7', 'remark': 'py_comment备注13:54:33_7', 'terms': [{'sort': 1, 'startTime': 1704115459000, 'endTime': ''}]} 预期结果: {'msg': '学期结束时间不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学期结束时间不能为空', 'code': 500, 'data': None} test_add_year_7 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>34</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_8</td> <td>学期不可超过5个学期</td> <td>0.302s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:33_8', 'remark': 'py_comment备注13:54:33_8', 'terms': [{'sort': 1, 'startTime': 154632003000, 'endTime': 154882563000}, {'sort': 2, 'startTime': 154899843000, 'endTime': 155150403000}, {'sort': 3, 'startTime': 155141763000, 'endTime': 155392323000}, {'sort': 4, 'startTime': 155668803000, 'endTime': 155936643000}, {'sort': 5, 'startTime': 156195843000, 'endTime': 156463683000}]} 预期结果: {'msg': '学期应填写1-4个', 'code': 500, 'data': None} 实际结果: {'msg': '学期应填写1-4个', 'code': 500, 'data': None} test_add_year_8 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>35</td> <td class="Test03Year">Test03Year</td> <td>test_add_year_9</td> <td>新增学年学期成功</td> <td>0.316s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'year': 'py学年13:54:34_9', 'remark': 'py_comment备注13:54:34_9', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_year_9 (test_02_system_management.Test03Year)执行——>【通过】 </pre> </td> </tr> <tr> <td>36</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_01</td> <td>新增教师</td> <td>0.566s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:35_1', 'number': '13665938443', 'departmentIds': ['1672845638989377538'], 'phone': '13665938443', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '440101201611030925', 'gender': 0, 'entryTime': 1663084800000, 'email': '86788091536@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_teacher_info_01 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>37</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_02</td> <td>教师姓名不能为空</td> <td>0.29s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'number': '17378544472', 'departmentIds': ['1672845638989377538'], 'phone': '17378544472', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '21010120180421105X', 'gender': 0, 'entryTime': 1663084800000, 'email': '63711962114@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': '教师姓名不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '教师姓名不能为空', 'code': 500, 'data': None} test_add_teacher_info_02 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>38</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_03</td> <td>教师手机号不能为空</td> <td>0.278s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:36_3', 'number': '15542734835', 'departmentIds': ['1672845638989377538'], 'phone': '', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '220101201610030199', 'gender': 0, 'entryTime': 1663084800000, 'email': '6053851100@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': '教师手机号不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '教师手机号不能为空', 'code': 500, 'data': None} test_add_teacher_info_03 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>39</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_04</td> <td>教师证件类型不能为空</td> <td>0.282s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:37_4', 'number': '15559187573', 'departmentIds': ['1672845638989377538'], 'phone': '15559187573', 'classInfoId': '', 'idType': '', 'idNumber': '110101201801140109', 'gender': 0, 'entryTime': 1663084800000, 'email': '17011595820@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': '教师证件类别不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '教师证件类别不能为空', 'code': 500, 'data': None} test_add_teacher_info_04 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>40</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_05</td> <td>教师证件号码不能为空</td> <td>0.3s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:37_5', 'number': '17375855567', 'departmentIds': ['1672845638989377538'], 'phone': '17375855567', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '', 'gender': 0, 'entryTime': 1663084800000, 'email': '8758351347@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': '教师证件号码不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '教师证件号码不能为空', 'code': 500, 'data': None} test_add_teacher_info_05 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>41</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_06</td> <td>教师角色不能为空</td> <td>0.293s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:37_6', 'number': '13638607038', 'departmentIds': ['1672845638989377538'], 'phone': '13638607038', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '460101201107080716', 'gender': 0, 'entryTime': 1663084800000, 'email': '69716048227@163.com', 'professionalIds': [], 'roleIds': [''], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': '教师角色不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '教师角色不能为空', 'code': 500, 'data': None} test_add_teacher_info_06 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>42</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_07</td> <td>教师性别为空,添加成功</td> <td>0.425s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:37_7', 'number': '17328036195', 'departmentIds': ['1672845638989377538'], 'phone': '17328036195', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '120101200202100129', 'gender': '', 'entryTime': 1663084800000, 'email': '31787611636@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_teacher_info_07 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>43</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_08</td> <td>教师入职时间为空,添加成功</td> <td>0.491s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:38_8', 'number': '17321109063', 'departmentIds': ['1672845638989377538'], 'phone': '17321109063', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '610101200303050833', 'gender': 0, 'entryTime': '', 'email': '21056091036@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_teacher_info_08 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>44</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_09</td> <td>教师邮箱为空,添加成功</td> <td>0.511s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:38_9', 'number': '15597096911', 'departmentIds': ['1672845638989377538'], 'phone': '15597096911', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '330101201010031118', 'gender': 0, 'entryTime': 1663084800000, 'email': '', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_teacher_info_09 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>45</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_10</td> <td>教师工号为空,添加成功</td> <td>0.514s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:39_10', 'number': '', 'departmentIds': ['1672845638989377538'], 'phone': '13322643260', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '220101199504230752', 'gender': 0, 'entryTime': 1663084800000, 'email': '43014617172@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_teacher_info_10 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>46</td> <td class="Test01Teacher">Test01Teacher</td> <td>test_add_teacher_info_11</td> <td>新增教师</td> <td>0.511s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化教师20230625_13:54:39_11', 'number': '17305287325', 'departmentIds': ['1672845638989377538'], 'phone': '17305287325', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '360101199305171586', 'gender': 0, 'entryTime': 1663084800000, 'email': '12028392535@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1672845638989377538'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_teacher_info_11 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】 </pre> </td> </tr> <tr> <td>47</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_01</td> <td>新增班级</td> <td>0.521s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:43_1', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_class_info_01 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>48</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_02</td> <td>班级名称未填写</td> <td>0.618s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) </pre> <pre>json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 7 column 43 (char 204) </pre> <pre>test_add_class_info_02 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 7 column 43 (char 204) ================test_add_class_info_02 (test_03_teaching_affairs.Test02Class)重运行第1次================ test_add_class_info_02 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 7 column 43 (char 204) ================test_add_class_info_02 (test_03_teaching_affairs.Test02Class)重运行第2次================ test_add_class_info_02 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 7 column 43 (char 204) ================test_add_class_info_02 (test_03_teaching_affairs.Test02Class)重运行第3次================ test_add_class_info_02 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>49</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_03</td> <td>班级名称已存在</td> <td>0.308s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '权限测试第一个班级-1-修改1', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1607634271332593665', 'teacherId': '1607634326517051394', 'departmentId': '1607634257592053761', 'education': 'secondary'} 预期结果: {'msg': '该班级已存在,请确认', 'code': 500, 'data': None} 实际结果: {'msg': '该班级已存在,请确认', 'code': 500, 'data': None} test_add_class_info_03 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>50</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_04</td> <td>学制未填写</td> <td>0.615s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) </pre> <pre>json.decoder.JSONDecodeError: Invalid control character at: line 7 column 42 (char 228) </pre> <pre>test_add_class_info_04 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Invalid control character at: line 7 column 42 (char 228) ================test_add_class_info_04 (test_03_teaching_affairs.Test02Class)重运行第1次================ test_add_class_info_04 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Invalid control character at: line 7 column 42 (char 228) ================test_add_class_info_04 (test_03_teaching_affairs.Test02Class)重运行第2次================ test_add_class_info_04 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 171, in test_add_class_info data = json.loads(case["data"]) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Invalid control character at: line 7 column 42 (char 228) ================test_add_class_info_04 (test_03_teaching_affairs.Test02Class)重运行第3次================ test_add_class_info_04 (test_03_teaching_affairs.Test02Class)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>51</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_05</td> <td>学制填写错误,最多为10年</td> <td>0.314s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:45_5', 'educationalSystem': '11', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': '学制最多为10年', 'code': 500, 'data': None} 实际结果: {'msg': '学制最多为10年', 'code': 500, 'data': None} test_add_class_info_05 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>52</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_06</td> <td>学制填写错误,最多为10年</td> <td>0.282s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:45_6', 'educationalSystem': '100', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': '学制最多为10年', 'code': 500, 'data': None} 实际结果: {'msg': '学制最多为10年', 'code': 500, 'data': None} test_add_class_info_06 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>53</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_07</td> <td>入学年份未填写</td> <td>0.727s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:45_7', 'educationalSystem': '3', 'startSchoolYear': '', 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538'} 预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学历不能为空', 'code': 500, 'data': None} test_add_class_info_07 (test_03_teaching_affairs.Test02Class)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 190, in test_add_class_info raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 183, in test_add_class_info self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '入学年份不能为空' != '学历不能为空' - 入学年份不能为空 ? - ^^ + 学历不能为空 ? ^ ================test_add_class_info_07 (test_03_teaching_affairs.Test02Class)重运行第1次================ 用例入参:{'name': 'py自动化班级20230625_13:54:45_7', 'educationalSystem': '3', 'startSchoolYear': '', 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538'} 预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None} test_add_class_info_07 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>54</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_08</td> <td>专业未填写</td> <td>0.279s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:46_8', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': '所属专业不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '所属专业不能为空', 'code': 500, 'data': None} test_add_class_info_08 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>55</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_09</td> <td>专业填写错误</td> <td>0.282s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:46_9', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1607127381431545857', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': '专业不存在', 'code': 500, 'data': None} 实际结果: {'msg': '专业不存在', 'code': 500, 'data': None} test_add_class_info_09 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>56</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_10</td> <td>院系可以为空</td> <td>0.307s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:47_10', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '', 'education': 'secondary'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_class_info_10 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>57</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_11</td> <td>院系下没有该专业</td> <td>0.293s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:47_11', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1526888155148289', 'teacherId': '1672845745143017473', 'departmentId': '1519960538489131009', 'education': 'secondary'} 预期结果: {'msg': '专业不存在', 'code': 500, 'data': None} 实际结果: {'msg': '专业不存在', 'code': 500, 'data': None} test_add_class_info_11 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>58</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_12</td> <td>教师未填写,添加成功</td> <td>0.311s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:47_12', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_class_info_12 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>59</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_13</td> <td>教师填写错误</td> <td>0.296s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:48_13', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1607612806826909697', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': '教师不存在', 'code': 500, 'data': None} 实际结果: {'msg': '教师不存在', 'code': 500, 'data': None} test_add_class_info_13 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>60</td> <td class="Test02Class">Test02Class</td> <td>test_add_class_info_14</td> <td>新增班级</td> <td>0.3s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化班级20230625_13:54:48_14', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_class_info_14 (test_03_teaching_affairs.Test02Class)执行——>【通过】 </pre> </td> </tr> <tr> <td>61</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_01</td> <td>新增课程</td> <td>0.334s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:51_1', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '49', 'code': '20230625_13:54:51'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_course_info_01 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>62</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_02</td> <td>课程名称不能为空</td> <td>0.288s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '50', 'code': '20230625_13:54:51'} 预期结果: {'msg': '课程名称不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '课程名称不能为空', 'code': 500, 'data': None} test_add_course_info_02 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>63</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_03</td> <td>课程名称不能超过30字</td> <td>0.266s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '1234567890123456789012345678901', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '51', 'code': '20230625_13:54:51'} 预期结果: {'msg': '课程名称不能超过30字', 'code': 500, 'data': None} 实际结果: {'msg': '课程名称不能超过30字', 'code': 500, 'data': None} test_add_course_info_03 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>64</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_04</td> <td>实践类型不能为空</td> <td>0.265s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:52_4', 'practiceTypeId': '', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '52', 'code': '20230625_13:54:52'} 预期结果: {'msg': '实践类型不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '实践类型不能为空', 'code': 500, 'data': None} test_add_course_info_04 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>65</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_05</td> <td>院系不能为空</td> <td>0.283s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:52_5', 'practiceTypeId': '1670630546881245185', 'departmentId': '', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '53', 'code': '20230625_13:54:52'} 预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None} test_add_course_info_05 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>66</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_06</td> <td>院系不能为空</td> <td>0.287s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:52_6', 'practiceTypeId': '1670630546881245185', 'departmentId': '1519960228489131009', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '53', 'code': '20230625_13:54:52'} 预期结果: {'msg': '院系不存在', 'code': 500, 'data': None} 实际结果: {'msg': '院系不存在', 'code': 500, 'data': None} test_add_course_info_06 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>67</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_07</td> <td>学分不能为空</td> <td>0.282s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:53_7', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': '', 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '54', 'code': '20230625_13:54:53'} 预期结果: {'msg': '学分不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学分不能为空', 'code': 500, 'data': None} test_add_course_info_07 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>68</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_08</td> <td>修读性质不能为空</td> <td>0.277s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:53_8', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': '', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '55', 'code': '20230625_13:54:53'} 预期结果: {'msg': '修读性质不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '修读性质不能为空', 'code': 500, 'data': None} test_add_course_info_08 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>69</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_09</td> <td>修读性质填写错误</td> <td>0.284s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:53_9', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'iiielectiveiiiii', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '56', 'code': '20230625_13:54:53'} 预期结果: {'msg': '修读性质填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '修读性质填写错误', 'code': 500, 'data': None} test_add_course_info_09 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>70</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_10</td> <td>学时(周数)不能为空</td> <td>0.281s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:53_10', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '57', 'code': '20230625_13:54:53'} 预期结果: {'msg': '学时不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学时不能为空', 'code': 500, 'data': None} test_add_course_info_10 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>71</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_11</td> <td>学期不能为空</td> <td>0.298s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:54_11', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': [''], 'professionalIds': ['1672845702986067970'], 'yearId': '58', 'code': '20230625_13:54:54'} 预期结果: {'msg': '学期不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学期不能为空', 'code': 500, 'data': None} test_add_course_info_11 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>72</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_12</td> <td>专业不能为空</td> <td>0.29s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:54_12', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': [''], 'yearId': '59', 'code': '20230625_13:54:54'} 预期结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None} 实际结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None} test_add_course_info_12 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>73</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_13</td> <td>专业填写错误</td> <td>0.285s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:54_13', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1522136228155148289'], 'yearId': '60', 'code': '20230625_13:54:54'} 预期结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None} 实际结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None} test_add_course_info_13 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>74</td> <td class="Test03Course">Test03Course</td> <td>test_add_course_info_14</td> <td>新增课程</td> <td>0.282s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化课程20230625_13:54:55_14', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '49', 'code': '20230625_13:54:55'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_course_info_14 (test_03_teaching_affairs.Test03Course)执行——>【通过】 </pre> </td> </tr> <tr> <td>75</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_01</td> <td>新增学生成功</td> <td>0.512s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:54:58_1', 'number': '20230625_13:54:58_1', 'phone': '13347290075', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '350101202108220177', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '17332210381', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_01 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>76</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_02</td> <td>学生姓名未填写失败</td> <td>0.296s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'number': '20230625_13:54:59_2', 'phone': '17340075355', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '460101200903160253', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '17310156076', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '姓名不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '姓名不能为空', 'code': 500, 'data': None} test_add_student_info_02 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>77</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_03</td> <td>学生学号未填写失败</td> <td>0.537s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>test_add_student_info_03 (test_03_teaching_affairs.Test04Student)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 361, in test_add_student_info case["data"] = case["data"].replace("#idNumber#", RandomIdentification().ran_end()) # 学生身份证号 File "/Users/shitou/工作/code/work/workAi/yxly/tools/fixture.py", line 109, in ran_end ran = self.ran_area() + self.ran() + self.ran_value() File "/Users/shitou/工作/code/work/workAi/yxly/tools/fixture.py", line 105, in ran_area return str(province[random.randint(0, len(province))] + '0101') IndexError: tuple index out of range ================test_add_student_info_03 (test_03_teaching_affairs.Test04Student)重运行第1次================ 用例入参:{'name': 'py自动化学生20230625_13:54:59_3', 'number': '', 'phone': '15554590483', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '340101201703260329', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '17346981787', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '学生学号不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学生学号不能为空', 'code': 500, 'data': None} test_add_student_info_03 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>78</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_04</td> <td>手机号未填写,添加成功</td> <td>0.356s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:00_4', 'number': '20230625_13:55:00_4', 'phone': '', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '650101200001070916', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15507390161', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_04 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>79</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_05</td> <td>入学年份未填写,添加失败</td> <td>0.283s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:00_5', 'number': '20230625_13:55:00_5', 'phone': '15526428626', 'startSchoolYear': '', 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '210101200105081853', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13354281981', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None} test_add_student_info_05 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>80</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_06</td> <td>班级未填写,添加失败</td> <td>0.307s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:00_6', 'number': '20230625_13:55:00_6', 'phone': '15534501934', 'startSchoolYear': 2022, 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '350101201004120601', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13383863287', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '班级不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '班级不能为空', 'code': 500, 'data': None} test_add_student_info_06 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>81</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_07</td> <td>证件类型和证件号码都没填写,添加成功</td> <td>0.332s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:01_7', 'number': '20230625_13:55:01_7', 'phone': '15590940120', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': '', 'idNumber': '', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15573649444', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_07 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>82</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_08</td> <td>证件类型未填,证件号码填写,添加失败</td> <td>0.309s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:01_8', 'number': '20230625_13:55:01_8', 'phone': '13602671584', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': '', 'idNumber': '630101202101150513', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '17354671418', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '证件类型未填,证件号码填写', 'code': 500, 'data': None} 实际结果: {'msg': '证件类型未填,证件号码填写', 'code': 500, 'data': None} test_add_student_info_08 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>83</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_09</td> <td>证件类型填写,证件号码未填写,添加失败</td> <td>0.288s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:01_9', 'number': '20230625_13:55:01_9', 'phone': '13697754468', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15564430313', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '证件类型填写,证件号码未填写', 'code': 500, 'data': None} 实际结果: {'msg': '证件类型填写,证件号码未填写', 'code': 500, 'data': None} test_add_student_info_09 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>84</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_10</td> <td>性别未填写,添加成功</td> <td>0.352s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:01_10', 'number': '20230625_13:55:01_10', 'phone': '15506944407', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '520101199511141505', 'gender': '', 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15532026675', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_10 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>85</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_11</td> <td>学籍状态未填写,添加成功</td> <td>0.347s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:02_11', 'number': '20230625_13:55:02_11', 'phone': '15537540755', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '120101201602160475', 'gender': 0, 'schoolCensusStatus': '', 'trainingOrientation': 'secondary', 'other': '15528693474', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_11 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>86</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_12</td> <td>培养方向未填写,添加成功</td> <td>0.367s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:02_12', 'number': '20230625_13:55:02_12', 'phone': '17336054486', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '510101201212180369', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': '', 'other': '13654029337', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_12 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>87</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_13</td> <td>其他-备注未填写,添加成功</td> <td>0.369s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:03_13', 'number': '20230625_13:55:03_13', 'phone': '13651199318', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '130101202102251166', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_13 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>88</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_14</td> <td>院系ID未填写,添加失败</td> <td>0.293s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:03_14', 'number': '20230625_13:55:03_14', 'phone': '13355264822', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '410101201511070959', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13698395220', 'departmentId': '', 'professionalId': '1672845702986067970'} 预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None} test_add_student_info_14 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>89</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_15</td> <td>专业ID未填写添加失败</td> <td>0.289s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化学生20230625_13:55:03_15', 'number': '20230625_13:55:03_15', 'phone': '15543014676', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '450101198302221071', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13377851247', 'departmentId': '1672845638989377538', 'professionalId': ''} 预期结果: {'msg': '专业不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '专业不能为空', 'code': 500, 'data': None} test_add_student_info_15 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>90</td> <td class="Test04Student">Test04Student</td> <td>test_add_student_info_16</td> <td>新增学生成功</td> <td>0.347s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '认证py自动化学生20230625_13:55:03_16', 'number': '20230625_13:55:03_16', 'phone': '13646181380', 'startSchoolYear': 2022, 'classInfoId': '1672845780438085633', 'idType': 'identity_card', 'idNumber': '650101199007231690', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15571630420', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_student_info_16 (test_03_teaching_affairs.Test04Student)执行——>【通过】 </pre> </td> </tr> <tr> <td>91</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_01</td> <td>新增计划成功</td> <td>0.786s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:09_1', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_01 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>92</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_02</td> <td>计划名称不能为空</td> <td>0.358s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '#purpose#', 'other': '#other#', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'markWay': 'hierarchy', 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '名称不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '名称不能为空', 'code': 500, 'data': None} test_add_plan_02 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>93</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_03</td> <td>计划名称不能大于30位</td> <td>0.343s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '123456789012345678901234567890111', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '名称不能超过30', 'code': 500, 'data': None} 实际结果: {'msg': '名称不能超过30', 'code': 500, 'data': None} test_add_plan_03 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>94</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_04</td> <td>课程不能为空</td> <td>0.311s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:11_4', 'courseId': '', 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '课程不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '课程不能为空', 'code': 500, 'data': None} test_add_plan_04 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>95</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_05</td> <td>课程不存在</td> <td>0.412s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:11_5', 'courseId': '1604221420761000', 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '课程不存在', 'code': 500, 'data': None} 实际结果: {'msg': '课程不存在', 'code': 500, 'data': None} test_add_plan_05 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>96</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_06</td> <td>班级不能为空</td> <td>0.32s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:12_6', 'courseId': 1672845808296652802, 'classInfoIds': [''], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '班级不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '班级不匹配', 'code': 500, 'data': None} test_add_plan_06 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>97</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_07</td> <td>班级不存在</td> <td>0.339s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:12_7', 'courseId': 1672845808296652802, 'classInfoIds': ['1608192098381826'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '班级不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '班级不匹配', 'code': 500, 'data': None} test_add_plan_07 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>98</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_08</td> <td>计划开始时间不能为空</td> <td>0.29s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:12_8', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': '', 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '开始时间不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '开始时间不能为空', 'code': 500, 'data': None} test_add_plan_08 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>99</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_09</td> <td>计划结束时间不能为空</td> <td>0.306s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:13_9', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': '', 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '结束时间不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '结束时间不能为空', 'code': 500, 'data': None} test_add_plan_09 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>100</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_10</td> <td>负责老师为空,添加成功</td> <td>0.33s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:13_10', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': [], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_10 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>101</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_11</td> <td>教师不存在,添加失败</td> <td>0.34s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:13_11', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['16084041590535938'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '教师不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '教师不匹配', 'code': 500, 'data': None} test_add_plan_11 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>102</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_12</td> <td>实习目的为空,添加成功</td> <td>0.339s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:14_12', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_12 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>103</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_13</td> <td>实习目的不能超过100位</td> <td>0.608s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:14_13', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '实习目的不能超过100', 'code': 500, 'data': None} 实际结果: {'msg': '实习目的不能超过100', 'code': 500, 'data': None} test_add_plan_13 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>104</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_14</td> <td>其他(备注)未填写,添加成功</td> <td>0.351s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:15_14', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_14 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>105</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_15</td> <td>其他(备注)长度不能超过200位</td> <td>0.294s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:15_15', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789011', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '其他(备注)长度不能超过200位', 'code': 500, 'data': None} 实际结果: {'msg': '其他(备注)长度不能超过200位', 'code': 500, 'data': None} test_add_plan_15 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>106</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_16</td> <td>实习形式不能为空</td> <td>0.303s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:15_16', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': [''], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None} test_add_plan_16 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>107</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_17</td> <td>实习形式为集中,添加成功--集中</td> <td>0.344s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:15_17', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_17 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>108</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_18</td> <td>实习形式为自主,添加成功--自主</td> <td>0.352s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:16_18', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_18 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>109</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_19</td> <td>实习报告提交开始时间不能为空</td> <td>0.308s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:16_19', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': '', 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '报告提交开始日期不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '报告提交开始日期不能为空', 'code': 500, 'data': None} test_add_plan_19 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>110</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_20</td> <td>实习报告提交结束时间不能为空</td> <td>0.304s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:16_20', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': '', 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '报告提交结束日期不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '报告提交结束日期不能为空', 'code': 500, 'data': None} test_add_plan_20 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>111</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_21</td> <td>报告模块路径为空,添加成功</td> <td>0.374s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:17_21', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_21 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>112</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_22</td> <td>实习内容为空,添加成功</td> <td>0.347s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:17_22', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_22 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>113</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_23</td> <td>实习内容长度不能大于500位</td> <td>0.296s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:17_23', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '2345678901234567890123456789012345678901234567890123456789012345678901234567890234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789023456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890112345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901111', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '实习内容长度不能超过500位', 'code': 500, 'data': None} 实际结果: {'msg': '实习内容长度不能超过500位', 'code': 500, 'data': None} test_add_plan_23 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>114</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_24</td> <td>院系不能为空</td> <td>0.316s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:18_24', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None} test_add_plan_24 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>115</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_25</td> <td>院系填写错误</td> <td>0.323s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:18_25', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1608511347396610', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': '院系班级不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '院系班级不匹配', 'code': 500, 'data': None} test_add_plan_25 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>116</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_26</td> <td>专业填写为空,添加成功</td> <td>0.339s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:18_26', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_26 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>117</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_27</td> <td>专业填写错误</td> <td>0.318s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:19_27', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1608402858811393', 'termId': 1672845721008992257} 预期结果: {'msg': '专业班级不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '专业班级不匹配', 'code': 500, 'data': None} test_add_plan_27 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>118</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_28</td> <td>学期不能为空</td> <td>0.3s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:19_28', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': ''} 预期结果: {'msg': '学期不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '学期不能为空', 'code': 500, 'data': None} test_add_plan_28 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>119</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_29</td> <td>学期填写错误</td> <td>0.321s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:19_29', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': '16404135152316418'} 预期结果: {'msg': '学期填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '学期填写错误', 'code': 500, 'data': None} test_add_plan_29 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>120</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_30</td> <td>新增计划成功</td> <td>0.342s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化计划20230625_13:55:20_30', 'courseId': 1672845808296652802, 'classInfoIds': ['1672845780438085633'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '其他(备注)', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1630512000000, 'reportSubmitEndTime': 1727884800000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1672845638989377538', 'professionalId': '1672845702986067970', 'termId': 1672845721008992257} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_30 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>121</td> <td class="Test01addInternshipPlan">Test01addInternshipPlan</td> <td>test_add_plan_31</td> <td>创建计划,方便使用的数据,自主</td> <td>0.326s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '石头py自动化计划20230625_13:55:20_31', 'courseId': 1519962553072062465, 'classInfoIds': ['1529753099302903809'], 'startTime': 1627747200000, 'endTime': 1735453543000, 'teacherIds': ['1672845745143017473'], 'purpose': '实习目的py自动化', 'other': '石头使用数据', 'practiceFormList': ['centralize', 'oneself'], 'reportSubmitStartTime': 1672675200000, 'reportSubmitEndTime': 1706630400000, 'reportTemplate': '', 'content': '实习内容#content#', 'departmentId': '1519960493236785154', 'professionalId': '1519960725961936898', 'termId': 1519962046194618369} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_plan_31 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>122</td> <td class="Test02publishInternshipPlan">Test02publishInternshipPlan</td> <td>test_publish_plan_1</td> <td>发布计划</td> <td>1.09s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'publishStatus': 'published', 'ids': [1672845913925898241]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【通过】 </pre> </td> </tr> <tr> <td>123</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_01</td> <td>新增项目成功--自主-(需要报名审核-允许自行填报企业信息)</td> <td>0.482s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:24_1', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_01 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>124</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_02</td> <td>新增项目成功--自主-(需要报名审核-不允许自行填报企业信息)</td> <td>0.383s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:25_2', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'no', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_02 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>125</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_03</td> <td>新增项目成功--自主-(不需要报名审核-允许自行填报企业信息)</td> <td>0.43s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:25_3', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'no', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_03 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>126</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_04</td> <td>新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息)</td> <td>0.402s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:26_4', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'no', 'oneselfFillCompanyInfo': 'no', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_04 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>127</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_05</td> <td>项目名称不能为空</td> <td>0.301s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '项目名称不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称不能为空', 'code': 500, 'data': None} test_add_project_05 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>128</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_06</td> <td>项目名称不能大于30位</td> <td>0.312s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '1234567890123456789012345678901', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'jobIds': ['1635095176676659202']} 预期结果: {'msg': '名称不能超过30', 'code': 500, 'data': None} 实际结果: {'msg': '名称不能超过30', 'code': 500, 'data': None} test_add_project_06 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>129</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_07</td> <td>实习计划不能为空</td> <td>0.306s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:27_7', 'planId': '', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '计划不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '计划不能为空', 'code': 500, 'data': None} test_add_project_07 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>130</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_08</td> <td>实习计划不匹配</td> <td>0.306s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:27_8', 'planId': '1610468261604655106', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '计划信息不存在', 'code': 500, 'data': None} 实际结果: {'msg': '计划信息不存在', 'code': 500, 'data': None} test_add_project_08 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>131</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_09</td> <td>实习形式不能为空</td> <td>0.296s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:27_9', 'planId': '1672845913925898241', 'practiceForm': '', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None} test_add_project_09 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>132</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_10</td> <td>实习形式填写错误</td> <td>0.3s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:28_10', 'planId': '1672845913925898241', 'practiceForm': 'onelf', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习形式填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '实习形式填写错误', 'code': 500, 'data': None} test_add_project_10 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>133</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_11</td> <td>实习要求不填写,添加成功</td> <td>0.385s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:28_11', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': '', 'requirement': '', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_11 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>134</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_12</td> <td>实习要求不能大于500</td> <td>0.297s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:28_12', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习要求不能超过500', 'code': 500, 'data': None} 实际结果: {'msg': '实习要求不能超过500', 'code': 500, 'data': None} test_add_project_12 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>135</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_13</td> <td>实习开始时间不能为空</td> <td>0.312s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:29_13', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': '', 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习开始时间不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '实习开始时间不能为空', 'code': 500, 'data': None} test_add_project_13 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>136</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_14</td> <td>实习结束时间不能为空</td> <td>0.311s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:29_14', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': '', 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习结束时间不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '实习结束时间不能为空', 'code': 500, 'data': None} test_add_project_14 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>137</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_15</td> <td>项目开始日期需早于项目结束日期</td> <td>0.303s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:29_15', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1693557598000, 'endTime': 1662021598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '项目开始日期需早于项目结束日期', 'code': 500, 'data': None} 实际结果: {'msg': '项目开始日期需早于项目结束日期', 'code': 500, 'data': None} test_add_project_15 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>138</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_16</td> <td>报名审核填写错误(后期在做修改,目前不做改动-0104)</td> <td>1.71s</td> <td class="text-warning">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:30_16', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'nd', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '报名审核填写错误' != 'success' - 报名审核填写错误 + success ================test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)重运行第1次================ 用例入参:{'name': 'py自动化项目20230625_13:55:30_16', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'nd', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '报名审核填写错误' != '项目名称已存在' - 报名审核填写错误 + 项目名称已存在 ================test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)重运行第2次================ 用例入参:{'name': 'py自动化项目20230625_13:55:30_16', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'nd', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '报名审核填写错误' != '项目名称已存在' - 报名审核填写错误 + 项目名称已存在 ================test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)重运行第3次================ 用例入参:{'name': 'py自动化项目20230625_13:55:30_16', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'nd', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) </pre> <pre>AssertionError: '报名审核填写错误' != '项目名称已存在' - 报名审核填写错误 + 项目名称已存在 </pre> </td> </tr> <tr> <td>139</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_17</td> <td>报名审核不能为空(后期在做修改,目前不做改动-0104)</td> <td>1.73s</td> <td class="text-warning">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:31_17', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': '', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '报名审核不能为空' != 'success' - 报名审核不能为空 + success ================test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)重运行第1次================ 用例入参:{'name': 'py自动化项目20230625_13:55:31_17', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': '', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '报名审核不能为空' != '项目名称已存在' - 报名审核不能为空 + 项目名称已存在 ================test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)重运行第2次================ 用例入参:{'name': 'py自动化项目20230625_13:55:31_17', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': '', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '报名审核不能为空' != '项目名称已存在' - 报名审核不能为空 + 项目名称已存在 ================test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)重运行第3次================ 用例入参:{'name': 'py自动化项目20230625_13:55:31_17', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': '', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) </pre> <pre>AssertionError: '报名审核不能为空' != '项目名称已存在' - 报名审核不能为空 + 项目名称已存在 </pre> </td> </tr> <tr> <td>140</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_18</td> <td>自行填报企业信息填写错误(后期在做修改,目前不做改动-0104)</td> <td>1.74s</td> <td class="text-warning">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:33_18', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'aow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '实习计划不匹配' != 'success' - 实习计划不匹配 + success ================test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)重运行第1次================ 用例入参:{'name': 'py自动化项目20230625_13:55:33_18', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'aow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '实习计划不匹配' != '项目名称已存在' - 实习计划不匹配 + 项目名称已存在 ================test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)重运行第2次================ 用例入参:{'name': 'py自动化项目20230625_13:55:33_18', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'aow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '实习计划不匹配' != '项目名称已存在' - 实习计划不匹配 + 项目名称已存在 ================test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)重运行第3次================ 用例入参:{'name': 'py自动化项目20230625_13:55:33_18', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'aow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) </pre> <pre>AssertionError: '实习计划不匹配' != '项目名称已存在' - 实习计划不匹配 + 项目名称已存在 </pre> </td> </tr> <tr> <td>141</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_19</td> <td>自行填报企业信息不能为空(后期在做修改,目前不做改动-0104)</td> <td>1.73s</td> <td class="text-warning">失败</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:35_19', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': '', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '自行填报企业信息不能为空' != 'success' - 自行填报企业信息不能为空 + success ================test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)重运行第1次================ 用例入参:{'name': 'py自动化项目20230625_13:55:35_19', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': '', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' - 自行填报企业信息不能为空 + 项目名称已存在 ================test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)重运行第2次================ 用例入参:{'name': 'py自动化项目20230625_13:55:35_19', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': '', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' - 自行填报企业信息不能为空 + 项目名称已存在 ================test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)重运行第3次================ 用例入参:{'name': 'py自动化项目20230625_13:55:35_19', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': '', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None} test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】 </pre> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 615, in run testMethod() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/common/myddt.py", line 145, in wrapper return func(self, *args, **kwargs) </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project raise e </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project self.assertEqual(expected['msg'], res['msg']) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual assertion_func(first, second, msg=msg) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail raise self.failureException(msg) </pre> <pre>AssertionError: '自行填报企业信息不能为空' != '项目名称已存在' - 自行填报企业信息不能为空 + 项目名称已存在 </pre> </td> </tr> <tr> <td>142</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_20</td> <td>参与学生不能为空</td> <td>0.321s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:37_20', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': [], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '参与学生不能为空', 'code': 500, 'data': None} 实际结果: {'msg': '参与学生不能为空', 'code': 500, 'data': None} test_add_project_20 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>143</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_21</td> <td>参与学生填写错误</td> <td>0.353s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:37_21', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['160468861604655106'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '学生信息不正确', 'code': 500, 'data': None} 实际结果: {'msg': '学生信息不正确', 'code': 500, 'data': None} test_add_project_21 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>144</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_22</td> <td>关联指定老师不填写,添加成功</td> <td>0.355s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:37_22', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': ''}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_22 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>145</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_23</td> <td>关联指定老师填写错误</td> <td>0.323s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:38_23', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 16104688616046551}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': '关联指定老师填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '关联指定老师填写错误', 'code': 500, 'data': None} test_add_project_23 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>146</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_24</td> <td>推荐岗位不能为空</td> <td>0.37s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:38_24', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '', 'type': 'base'}]} 预期结果: {'msg': '推荐岗位填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '推荐岗位填写错误', 'code': 500, 'data': None} test_add_project_24 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>147</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_25</td> <td>推荐岗位填写错误</td> <td>0.377s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:38_25', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1610460061604655106', 'type': 'base'}]} 预期结果: {'msg': '推荐岗位填写错误', 'code': 500, 'data': None} 实际结果: {'msg': '推荐岗位填写错误', 'code': 500, 'data': None} test_add_project_25 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>148</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_26</td> <td>新增项目成功--自主-(需要报名审核-允许自行填报企业信息)</td> <td>0.392s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': 'py自动化项目20230625_13:55:39_26', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1662021598000, 'endTime': 1693557598000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1672845845823090690'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_26 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>149</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_27</td> <td>创建项目,方便使用的数据</td> <td>0.373s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '石头1py自动化项目20230625_13:55:39_27', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1672588800000, 'endTime': 1704038399000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1519965286978138113'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_27 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>150</td> <td class="Test03addInternshipProject">Test03addInternshipProject</td> <td>test_add_project_28</td> <td>创建项目,方便使用的数据</td> <td>0.36s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'name': '石头2py自动化项目20230625_13:55:39_28', 'planId': '1672845913925898241', 'practiceForm': 'oneself', 'joinWay': 'need', 'requirement': '实习要求', 'startTime': 1672588800000, 'endTime': 1704038399000, 'applyStartTime': '', 'applyEndTime': '', 'applyAudit': 'need', 'oneselfFillCompanyInfo': 'allow', 'participantList': [{'studentIds': ['1519965286978138113'], 'teacherId': 1672845745143017473}], 'projectJobList': [{'jobId': '1635095176676659202', 'type': 'base'}]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_add_project_28 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>151</td> <td class="Test04publishInternshipProject">Test04publishInternshipProject</td> <td>test_publish_plan_1</td> <td>发布项目</td> <td>1.43s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'publishStatus': 'published', 'ids': [1672845996549492738]} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test_publish_plan_1 (test_04_Internship_preparation.Test04publishInternshipProject)执行——>【通过】 </pre> </td> </tr> <tr> <td>152</td> <td class="Test01SelectAllPractice">Test01SelectAllPractice</td> <td>test01select_allpatice_1</td> <td>查看全部实习</td> <td>0.276s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'pageNumber': '1', 'pageSize': '3', 'publishStatus': 'published'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [], 'optimizeCountSql': True, 'searchCount': True, 'countId': '', 'maxLimit': None, 'pages': 0}} test01select_allpatice_1 (test_05_student_practice.Test01SelectAllPractice)执行——>【通过】 </pre> </td> </tr> <tr> <td>153</td> <td class="Test01SelectApplyAuditList">Test01SelectApplyAuditList</td> <td>test01select_wait_list_1</td> <td>查看学校报名审核-待审核</td> <td>0.336s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'pageNumber': '1', 'pageSize': '5', 'status': 'wait'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': {'records': [], 'total': 0, 'size': 5, 'current': 1, 'orders': [], 'optimizeCountSql': True, 'searchCount': True, 'countId': '', 'maxLimit': None, 'pages': 0}} test01select_wait_list_1 (test_06_internship_manage.Test01SelectApplyAuditList)执行——>【通过】 </pre> </td> </tr> <tr> <td>154</td> <td class="Test02SchoolAudit">Test02SchoolAudit</td> <td>test01audit_1</td> <td>审核成功(学校)</td> <td>3.16s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 95, in setUp self.applyId = jsonpath(apply_json, "$..id")[0] # 获取待审核id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01audit_1 (test_06_internship_manage.Test02SchoolAudit)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 95, in setUp self.applyId = jsonpath(apply_json, "$..id")[0] # 获取待审核id TypeError: 'bool' object is not subscriptable ================test01audit_1 (test_06_internship_manage.Test02SchoolAudit)重运行第1次================ test01audit_1 (test_06_internship_manage.Test02SchoolAudit)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 95, in setUp self.applyId = jsonpath(apply_json, "$..id")[0] # 获取待审核id TypeError: 'bool' object is not subscriptable ================test01audit_1 (test_06_internship_manage.Test02SchoolAudit)重运行第2次================ test01audit_1 (test_06_internship_manage.Test02SchoolAudit)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 95, in setUp self.applyId = jsonpath(apply_json, "$..id")[0] # 获取待审核id TypeError: 'bool' object is not subscriptable ================test01audit_1 (test_06_internship_manage.Test02SchoolAudit)重运行第3次================ test01audit_1 (test_06_internship_manage.Test02SchoolAudit)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>155</td> <td class="Test05StudentIntenship">Test05StudentIntenship</td> <td>test01student_start_intenship_time_1</td> <td>学生填写开始实习时间成功</td> <td>4.36s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 258, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单待实习id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 258, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单待实习id TypeError: 'bool' object is not subscriptable ================test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)重运行第1次================ test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 258, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单待实习id TypeError: 'bool' object is not subscriptable ================test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)重运行第2次================ test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 258, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单待实习id TypeError: 'bool' object is not subscriptable ================test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)重运行第3次================ test01student_start_intenship_time_1 (test_06_internship_manage.Test05StudentIntenship)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>156</td> <td class="Test06SchoolSelectApply">Test06SchoolSelectApply</td> <td>test01audit_1</td> <td>实习申请审核成功(学校)</td> <td>0.99s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'status': 'passed'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test01audit_1 (test_06_internship_manage.Test06SchoolSelectApply)执行——>【通过】 </pre> </td> </tr> <tr> <td>157</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_01</td> <td>学生填写-(日志)-日志标题不能为空</td> <td>4.31s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_01 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>158</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_02</td> <td>学生填写-(日志)-日志标题不能超过30位</td> <td>4.35s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_02 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>159</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_03</td> <td>学生填写-(日志)-实习单不存在</td> <td>3.94s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_03 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>160</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_04</td> <td>学生填写-(日志)-实习单不能为空</td> <td>4.09s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_04 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>161</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_05</td> <td>学生填写-(日志)-周日志种类不能为空</td> <td>3.97s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_05 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>162</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_06</td> <td>学生填写-(日志)-周日志时间不能为空</td> <td>4.1s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_06 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>163</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_07</td> <td>学生填写-(周志)-周志标题不能为空</td> <td>4.02s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_07 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>164</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_08</td> <td>学生填写-(周志)-周志标题不能超过30位</td> <td>3.76s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_08 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>165</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_09</td> <td>学生填写-周志)-实习单不存在</td> <td>4.02s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_09 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>166</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_10</td> <td>学生填写-(周志)-实习单不能为空</td> <td>3.99s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_10 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>167</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_11</td> <td>学生填写-(周志)-周日志种类不能为空</td> <td>3.88s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_11 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>168</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_12</td> <td>学生填写-(周志)-周日志时间不能为空</td> <td>4.05s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_12 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>169</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_13</td> <td>学生填写-(月志)-月志标题不能为空</td> <td>3.99s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_13 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>170</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_14</td> <td>学生填写-(月志)-月志标题不能超过30位</td> <td>4.21s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_14 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>171</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_15</td> <td>学生填写-(月志)-实习单不存在</td> <td>3.98s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_15 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>172</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_16</td> <td>学生填写-(月志)-实习单不能为空</td> <td>3.93s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_16 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>173</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_17</td> <td>学生填写-(月志)-周日志种类不能为空</td> <td>3.9s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_17 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>174</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_18</td> <td>学生填写-(月志)-周日志时间不能为空</td> <td>4.2s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_18 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>175</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_19</td> <td>学生填写-(日志)-成功</td> <td>4.01s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_19 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>176</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_20</td> <td>学生填写-(周志)-成功</td> <td>4.19s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_20 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>177</td> <td class="Test07StudentWriteLog">Test07StudentWriteLog</td> <td>test01student_write_log_21</td> <td>学生填写-(月志)-成功</td> <td>3.96s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)重运行第1次================ test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)重运行第2次================ test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 376, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)重运行第3次================ test01student_write_log_21 (test_06_internship_manage.Test07StudentWriteLog)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>178</td> <td class="Test08ApproveLog">Test08ApproveLog</td> <td>test01approve_log_1</td> <td>学校端批阅-(日志)-成功</td> <td>2.49s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'ids': ['1651424772414001154']} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test01approve_log_1 (test_06_internship_manage.Test08ApproveLog)执行——>【通过】 </pre> </td> </tr> <tr> <td>179</td> <td class="Test08ApproveLog">Test08ApproveLog</td> <td>test01approve_log_2</td> <td>学校端批阅-(周志)-成功</td> <td>2.21s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'ids': ['1626492478742196226']} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test01approve_log_2 (test_06_internship_manage.Test08ApproveLog)执行——>【通过】 </pre> </td> </tr> <tr> <td>180</td> <td class="Test08ApproveLog">Test08ApproveLog</td> <td>test01approve_log_3</td> <td>学校端批阅-(月志)-成功</td> <td>2.25s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'ids': ['1626487688184328194']} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test01approve_log_3 (test_06_internship_manage.Test08ApproveLog)执行——>【通过】 </pre> </td> </tr> <tr> <td>181</td> <td class="Test09Attendance">Test09Attendance</td> <td>test01student_attendance_1</td> <td>学生签到打卡成功</td> <td>3.96s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 514, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_attendance_1 (test_06_internship_manage.Test09Attendance)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 514, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_attendance_1 (test_06_internship_manage.Test09Attendance)重运行第1次================ test01student_attendance_1 (test_06_internship_manage.Test09Attendance)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 514, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_attendance_1 (test_06_internship_manage.Test09Attendance)重运行第2次================ test01student_attendance_1 (test_06_internship_manage.Test09Attendance)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 514, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_attendance_1 (test_06_internship_manage.Test09Attendance)重运行第3次================ test01student_attendance_1 (test_06_internship_manage.Test09Attendance)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>182</td> <td class="Test10LeaveRecord">Test10LeaveRecord</td> <td>test01student_leave_record_1</td> <td>学生填写请假申请(调休)成功</td> <td>3.82s</td> <td class="text-danger">错误</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>Traceback (most recent call last): </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield </pre> <pre> File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() </pre> <pre> File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 574, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id </pre> <pre>TypeError: 'bool' object is not subscriptable </pre> <pre>test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 574, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)重运行第1次================ test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 574, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)重运行第2次================ test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)执行——>【错误Error】 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 59, in testPartExecutor yield File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 611, in run self.setUp() File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_06_internship_manage.py", line 574, in setUp self.student_intership_id = jsonpath(student_intership_json, "$..id")[0] # 获取实习单实习中id TypeError: 'bool' object is not subscriptable ================test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)重运行第3次================ test01student_leave_record_1 (test_06_internship_manage.Test10LeaveRecord)执行——>【错误Error】 </pre> </td> </tr> <tr> <td>183</td> <td class="Test11TeacherAprove">Test11TeacherAprove</td> <td>test01teacher_aprove_1</td> <td>教师审批请假申请通过</td> <td>0.929s</td> <td class="text-success">成功</td> <td> <button type="button" class="btn btn-success btn_info">查看详情</button> </td> </tr> <tr class="test_log"> <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all"> <pre>用例入参:{'status': 'pass', 'reply': '自动化回复20230625_13:57:37'} 预期结果: {'msg': 'success', 'code': 200, 'data': True} 实际结果: {'msg': 'success', 'code': 200, 'data': True} test01teacher_aprove_1 (test_06_internship_manage.Test11TeacherAprove)执行——>【通过】 </pre> </td> </tr> </tbody> </table> </div> <div style="height: 200px"></div> </div> <script> var tbodyTr = $('tbody tr'); var testResult = $("#testResult"); var testClass = $("#testClass"); <!-- 用例执行详细信息显示切换--> $(".btn_info").click(function () { $(this).parent().parent().next().toggle(); }); // 当选择用例类之后触发 testClass.change(function () { var cls = $(this).val(); var res = testResult.val(); elementDisplay(cls, res); sort() }); testResult.change(function () { var res = $(this).val(); var cls = testClass.val(); elementDisplay(cls, res); sort() }); function elementDisplay(cls, res) { // 用例数据的显示 if (cls === "所有") { if (res === "所有") { tbodyTr.has('button').show(); } else if (res === '成功') { tbodyTr.hide(); tbodyTr.has('button').has('.text-success').show() } else if (res === '失败') { tbodyTr.hide(); tbodyTr.has('button').has('.text-warning').show() } else if (res === '错误') { tbodyTr.hide(); tbodyTr.has('button').has('.text-danger').show() } else if (res === '跳过') { tbodyTr.hide(); tbodyTr.has('button').has('.text-info').show() } } else { if (res === "所有") { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').show() } else if (res === '成功') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-success').show() } else if (res === '失败') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-warning').show() } else if (res === '错误') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-danger').show() } else if (res === '跳过') { tbodyTr.hide(); tbodyTr.has('button').has('.' + cls + '').has('.text-info').show() } } } function sort() { //重新排列显示序号 // 选择所有可以见的tr var visibleTr = tbodyTr.filter(":visible"); visibleTr.each(function (index, element) { element.firstElementChild.innerHTML = index + 1; }) } </script> <script type="text/javascript"> // 基于准备好的dom,初始化echarts实例 var myChart = echarts.init(document.getElementById('char')); var myChart2 = echarts.init(document.getElementById('char2')); // 指定图表的配置项和数据 option = { color: ['#00a10a', '#ddb518', 'rgba(204,46,41,0.73)', '#85898c'], tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' }, legend: { orient: 'vertical', left: 10, data: ['通过', '失败', '错误', '跳过'] }, series: [ { name: '测试结果', type: 'pie', radius: ['50%', '70%'], avoidLabelOverlap: false, label: { show: false, position: 'center' }, emphasis: { label: { show: true, fontSize: '30', fontWeight: 'bold' } }, labelLine: { show: false }, data: [ {value: 151, name: '通过'}, {value: 5, name: '失败'}, {value: 27, name: '错误'}, {value: 0, name: '跳过'} ] } ] }; option2 = { tooltip: { formatter: '{a} <br/>{b} : {c}%' }, toolbox: { feature: { restore: {}, saveAsImage: {} } }, series: [ { name: '测试结果', type: 'gauge', detail: {formatter: '82.51%'}, data: [{value: '82.51', name: '用例通过率'}], axisLine: { lineStyle: { color: [ [0.2, '#c20000'], [0.8, '#ddb518'], [1, '#00a10a']] } } } ] }; myChart2.setOption(option2); // 使用刚指定的配置项和数据显示图表。 myChart.setOption(option); </script> </body> </html>