审查视图

report/report2.html 407.8 KB
Shishutong authored
1 2 3 4
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
Shishutong authored
5
    <title>测试报告</title>
Shishutong authored
6
Shishutong authored
7
       <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
Shishutong authored
8 9 10 11 12 13 14
    <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;
Shishutong authored
15
            height: 60px;
Shishutong authored
16
            text-align: center;
Shishutong authored
17
            font: bolder 38px/60px "Microsoft YaHei UI";
Shishutong authored
18 19
        }
Shishutong authored
20 21 22 23 24 25
        /*汇总信息样式*/
        .summary {
            width: 90%;
            position: absolute;
            top: 120px;
            margin-left: 5%;
Shishutong authored
26 27 28

        }
Shishutong authored
29 30
        .text-left {
            font: bolder 20px/30px "Microsoft YaHei UI";
Shishutong authored
31 32
        }
Shishutong authored
33 34 35
        .left {
            width: 50%;
            float: left;
Shishutong authored
36 37 38

        }
Shishutong authored
39 40 41
        .right {
            width: 50%;
            float: right;
Shishutong authored
42 43 44

        }
Shishutong authored
45 46 47
        .desc {
            float: left;
            width: 100%;
Shishutong authored
48 49
        }
Shishutong authored
50 51 52
        .list-group-item span {
            font: normal 16px/38px "Microsoft YaHei UI";
            padding: 30px;
Shishutong authored
53 54 55

        }
Shishutong authored
56 57 58 59 60 61
        .list-group-item {
            position: relative;
            display: block;
            padding: .4rem 1.25rem;
            background-color: #fff;
            border: 1px solid rgba(0, 0, 0, .125);
Shishutong authored
62 63 64 65
        }

        /* 执行信息样式   */
        .test_info {
Shishutong authored
66 67 68 69
            width: 90%;
            position: absolute;
            top: 900px;
            margin-left: 5%;
Shishutong authored
70
Shishutong authored
71
            color: #28a745 !important;
Shishutong authored
72 73
        }
Shishutong authored
74 75 76
        .table td, th {
            border: solid 2px rgba(9, 122, 51, 0.11) !important;
            padding: 0;
Shishutong authored
77 78
            line-height: 40px;
            text-align: center;
Shishutong authored
79
Shishutong authored
80 81
        }
Shishutong authored
82
Shishutong authored
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
        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;
Shishutong authored
114
            padding-right:3em;
Shishutong authored
115
            font: none 18px/24px "Microsoft YaHei UI";
Shishutong authored
116
            color: #9e141a;
Shishutong authored
117 118 119 120 121 122 123 124 125 126 127 128
        }

        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
        }
Shishutong authored
129 130 131 132 133 134 135
        /*    测试图表显示*/
        .char {
            width: 90%;
            position: absolute;
            top: 450px;
            margin-left: 5%;
            color: #28a745 !important;
Shishutong authored
136 137
        }
Shishutong authored
138
    </style>
Shishutong authored
139
Shishutong authored
140 141
</head>
<body>
Shishutong authored
142
Shishutong authored
143 144 145 146
<!--报告标题-->
<div class="title text-success">
    <div class="shadow-lg p-3 mb-5 bg-white rounded">优学乐业测试报告</div>
</div>
Shishutong authored
147
Shishutong authored
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
<!--汇总信息-->
<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>
Shishutong authored
202 203

Shishutong authored
204
</div>
Shishutong authored
205
Shishutong authored
206 207 208 209 210 211
<!--测试图表-->
<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>
Shishutong authored
212
Shishutong authored
213 214
<!--详细信息-->
<div class="test_info">
Shishutong authored
215
Shishutong authored
216 217
    <p class="text-left text-success">详细信息</p>
    <div class="table_data">
Shishutong authored
218
Shishutong authored
219 220 221 222 223 224 225 226 227 228 229
        <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>
                        
Shishutong authored
230
                            <option>Test01addInternshipPlan</option>
Shishutong authored
231 232 233 234 235 236 237 238 239 240 241
                        
                            <option>Test05StudentIntenship</option>
                        
                            <option>Test01Teacher</option>
                        
                            <option>Test11TeacherAprove</option>
                        
                            <option>Test06SchoolSelectApply</option>
                        
                            <option>Test03Course</option>
                        
Shishutong authored
242
                            <option>Test02publishInternshipPlan</option>
Shishutong authored
243 244 245 246 247 248 249 250 251
                        
                            <option>Test02Specialty</option>
                        
                            <option>Test02SchoolAudit</option>
                        
                            <option>Test09Attendance</option>
                        
                            <option>Test04publishInternshipProject</option>
                        
Shishutong authored
252
                            <option>Test03Year</option>
Shishutong authored
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
                        
                            <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>
Shishutong authored
297 298 299 300
                    <td>1</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_1</td>
                    <td>登陆成功</td>
Shishutong authored
301
                    <td>0.483s</td>
Shishutong authored
302
                    
Shishutong authored
303
                        <td class="text-success">成功</td>
Shishutong authored
304 305
                    
                    <td>
Shishutong authored
306
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
307 308 309 310 311
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
312
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
313 314 315 316
                        

                            <pre>用例入参:{'way': 'name', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher', 'username': '17301249975', 'schoolId': '1519958566130257922'}
预期结果:{'msg': 'success', 'code': 200}
Shishutong authored
317
实际结果:{'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'}}
Shishutong authored
318 319 320 321 322 323
test_login_1 (test_01_login.TestLogin)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
324 325
            
                <tr>
Shishutong authored
326 327 328 329
                    <td>2</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_2</td>
                    <td>手机号填写错误的</td>
Shishutong authored
330
                    <td>0.277s</td>
Shishutong authored
331
                    
Shishutong authored
332
                        <td class="text-success">成功</td>
Shishutong authored
333 334
                    
                    <td>
Shishutong authored
335
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
336 337 338 339 340
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
341
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
342 343 344 345
                        

                            <pre>用例入参:{'way': 'name', 'username': '17301149975', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher'}
预期结果:{'code': 500, 'data': None, 'msg': '用户不存在'}
Shishutong authored
346
实际结果:{'msg': '用户不存在', 'code': 500, 'data': None}
Shishutong authored
347 348 349 350 351 352
test_login_2 (test_01_login.TestLogin)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
353 354
            
                <tr>
Shishutong authored
355 356 357 358
                    <td>3</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_3</td>
                    <td>手机号不进行填写</td>
Shishutong authored
359
                    <td>0.221s</td>
Shishutong authored
360
                    
Shishutong authored
361
                        <td class="text-success">成功</td>
Shishutong authored
362 363
                    
                    <td>
Shishutong authored
364
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
365 366 367 368 369
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
370
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
371 372 373 374
                        

                            <pre>用例入参:{'way': 'name', 'username': '', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher'}
预期结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'}
Shishutong authored
375
实际结果:{'msg': '用户名和密码不能为空', 'code': 500, 'data': None}
Shishutong authored
376 377 378 379 380 381
test_login_3 (test_01_login.TestLogin)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
382 383
            
                <tr>
Shishutong authored
384 385 386 387
                    <td>4</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_4</td>
                    <td>密码填写错误</td>
Shishutong authored
388
                    <td>0.378s</td>
Shishutong authored
389
                    
Shishutong authored
390
                        <td class="text-success">成功</td>
Shishutong authored
391 392
                    
                    <td>
Shishutong authored
393
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
394 395 396 397 398
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
399
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
400 401 402 403
                        

                            <pre>用例入参:{'way': 'name', 'username': '17301249975', 'password': 'f85eea0e115e424aba8675f8848e2cb83', 'type': 'teacher'}
预期结果:{'code': 500, 'data': None, 'msg': '密码不正确'}
Shishutong authored
404
实际结果:{'msg': '密码不正确', 'code': 500, 'data': None}
Shishutong authored
405 406 407 408 409 410
test_login_4 (test_01_login.TestLogin)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
411 412
            
                <tr>
Shishutong authored
413 414 415 416
                    <td>5</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_5</td>
                    <td>密码不进行填写</td>
Shishutong authored
417
                    <td>0.214s</td>
Shishutong authored
418
                    
Shishutong authored
419
                        <td class="text-success">成功</td>
Shishutong authored
420 421
                    
                    <td>
Shishutong authored
422
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
423 424 425 426 427
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
428
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
429 430 431 432
                        

                            <pre>用例入参:{'way': 'name', 'username': '17301249975', 'password': '', 'type': 'teacher'}
预期结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'}
Shishutong authored
433
实际结果:{'msg': '用户名和密码不能为空', 'code': 500, 'data': None}
Shishutong authored
434 435 436 437 438 439
test_login_5 (test_01_login.TestLogin)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
440 441
            
                <tr>
Shishutong authored
442 443 444 445
                    <td>6</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_1</td>
                    <td>新增院系成功</td>
Shishutong authored
446
                    <td>0.412s</td>
Shishutong authored
447
                    
Shishutong authored
448
                        <td class="text-success">成功</td>
Shishutong authored
449 450
                    
                    <td>
Shishutong authored
451
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
452 453 454 455 456
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
457
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
458 459
                        
Shishutong authored
460
                            <pre>用例入参:{'name': 'py自动化院系20230625_13:54:12_1', 'code': 'py_code20230625_13:54:12_1'}
Shishutong authored
461 462 463 464 465 466 467 468
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_department_1 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
469 470
            
                <tr>
Shishutong authored
471 472 473 474
                    <td>7</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_2</td>
                    <td>院系名称未填写</td>
Shishutong authored
475
                    <td>0.292s</td>
Shishutong authored
476
                    
Shishutong authored
477
                        <td class="text-success">成功</td>
Shishutong authored
478 479
                    
                    <td>
Shishutong authored
480
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
481 482 483 484 485
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
486
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
487 488
                        
Shishutong authored
489
                            <pre>用例入参:{'name': '', 'code': 'py_code20230625_13:54:12_2'}
Shishutong authored
490 491 492 493 494 495 496 497
预期结果: {'msg': '院系名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系名称不能为空', 'code': 500, 'data': None}
test_add_department_2 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
498 499
            
                <tr>
Shishutong authored
500 501 502 503
                    <td>8</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_3</td>
                    <td>院系名称重复</td>
Shishutong authored
504
                    <td>0.267s</td>
Shishutong authored
505
                    
Shishutong authored
506
                        <td class="text-success">成功</td>
Shishutong authored
507 508
                    
                    <td>
Shishutong authored
509
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
510 511 512 513 514
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
515
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
516 517
                        
Shishutong authored
518
                            <pre>用例入参:{'name': '院系1', 'code': 'py_code20230625_13:54:12_3'}
Shishutong authored
519 520 521 522 523 524 525 526
预期结果: {'msg': '院系名称已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '院系名称已存在,请确认', 'code': 500, 'data': None}
test_add_department_3 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
527 528
            
                <tr>
Shishutong authored
529 530 531 532
                    <td>9</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_4</td>
                    <td>院系名称长度不可大于30位</td>
Shishutong authored
533
                    <td>0.259s</td>
Shishutong authored
534
                    
Shishutong authored
535
                        <td class="text-success">成功</td>
Shishutong authored
536 537
                    
                    <td>
Shishutong authored
538
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
539 540 541 542 543
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
544
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
545 546
                        
Shishutong authored
547
                            <pre>用例入参:{'name': '院系名称长度大于30的测试院系名称长度大于30的测试院系名称长度大于30的测试院系名称长度大于30的测试', 'code': 'py_code20230625_13:54:13_4'}
Shishutong authored
548 549 550 551 552 553 554 555
预期结果: {'msg': '院系名称长度不可大于30位', 'code': 500, 'data': None}
实际结果: {'msg': '院系名称长度不可大于30位', 'code': 500, 'data': None}
test_add_department_4 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
556 557
            
                <tr>
Shishutong authored
558 559 560 561
                    <td>10</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_5</td>
                    <td>院系代码重复</td>
Shishutong authored
562
                    <td>0.275s</td>
Shishutong authored
563
                    
Shishutong authored
564
                        <td class="text-success">成功</td>
Shishutong authored
565 566
                    
                    <td>
Shishutong authored
567
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
568 569 570 571 572
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
573
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
574 575
                        
Shishutong authored
576
                            <pre>用例入参:{'name': 'py自动化院系20230625_13:54:13_5', 'code': '批量导入院系'}
Shishutong authored
577 578 579 580 581 582 583 584
预期结果: {'msg': '院系代码已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '院系代码已存在,请确认', 'code': 500, 'data': None}
test_add_department_5 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
585 586
            
                <tr>
Shishutong authored
587 588 589 590
                    <td>11</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_6</td>
                    <td>院系代码不能为空</td>
Shishutong authored
591
                    <td>0.279s</td>
Shishutong authored
592
                    
Shishutong authored
593
                        <td class="text-success">成功</td>
Shishutong authored
594 595
                    
                    <td>
Shishutong authored
596
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
597 598 599 600 601
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
602
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
603 604
                        
Shishutong authored
605
                            <pre>用例入参:{'name': 'py自动化院系20230625_13:54:13_6', 'code': ''}
Shishutong authored
606 607 608 609 610 611 612 613
预期结果: {'msg': '院系代码不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系代码不能为空', 'code': 500, 'data': None}
test_add_department_6 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
614 615
            
                <tr>
Shishutong authored
616 617 618 619
                    <td>12</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_7</td>
                    <td>院系代码长度不可大于30</td>
Shishutong authored
620
                    <td>0.678s</td>
Shishutong authored
621
                    
Shishutong authored
622
                        <td class="text-success">成功</td>
Shishutong authored
623 624
                    
                    <td>
Shishutong authored
625
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
626 627 628 629 630
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
631
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
632 633
                        
Shishutong authored
634
                            <pre>用例入参:{'name': 'py自动化院系20230625_13:54:14_7', 'code': '院系代码长度大于30的测试院系代码长度大于30的测试院系代码长度大于30的测试'}
Shishutong authored
635 636 637 638 639 640 641 642
预期结果: {'msg': '院系代码长度不可大于30', 'code': 500, 'data': None}
实际结果: {'msg': '院系代码长度不可大于30', 'code': 500, 'data': None}
test_add_department_7 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
643 644
            
                <tr>
Shishutong authored
645 646 647 648
                    <td>13</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_8</td>
                    <td>新增院系成功</td>
Shishutong authored
649
                    <td>0.276s</td>
Shishutong authored
650
                    
Shishutong authored
651
                        <td class="text-success">成功</td>
Shishutong authored
652 653
                    
                    <td>
Shishutong authored
654
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
655 656 657 658 659
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
660
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
661 662
                        
Shishutong authored
663
                            <pre>用例入参:{'name': 'py自动化院系20230625_13:54:14_8', 'code': 'py_code20230625_13:54:14_8'}
Shishutong authored
664 665 666 667 668 669 670 671
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_department_8 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
672 673
            
                <tr>
Shishutong authored
674 675 676 677
                    <td>14</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_select_department_1</td>
                    <td>查看院系列表</td>
Shishutong authored
678
                    <td>0.333s</td>
Shishutong authored
679
                    
Shishutong authored
680
                        <td class="text-success">成功</td>
Shishutong authored
681 682
                    
                    <td>
Shishutong authored
683
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
684 685 686 687 688
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
689
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
690 691 692 693
                        

                            <pre>用例入参:{'pageNumber': '0', 'pageSize': '3'}
预期结果: {'msg': 'success', 'code': 200}
Shishutong authored
694
实际结果: {'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}}
Shishutong authored
695 696 697 698 699 700
test_select_department_1 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
701 702
            
                <tr>
Shishutong authored
703 704 705 706
                    <td>15</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_01</td>
                    <td>新增专业成功</td>
Shishutong authored
707
                    <td>1.33s</td>
Shishutong authored
708
                    
Shishutong authored
709
                        <td class="text-success">成功</td>
Shishutong authored
710 711
                    
                    <td>
Shishutong authored
712
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
713 714 715 716 717
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
718
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
719 720
                        
Shishutong authored
721
                            <pre>用例入参:{'name': 'py专业13:54:15_1', 'code': 'py_code13:54:15_1', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
722 723 724 725 726 727 728 729
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_specialty_01 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
730 731
            
                <tr>
Shishutong authored
732 733 734 735
                    <td>16</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_02</td>
                    <td>新增专业失败,院系未填写</td>
Shishutong authored
736
                    <td>1.24s</td>
Shishutong authored
737
                    
Shishutong authored
738
                        <td class="text-success">成功</td>
Shishutong authored
739 740
                    
                    <td>
Shishutong authored
741
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
742 743 744 745 746
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
747
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
748 749
                        
Shishutong authored
750
                            <pre>用例入参:{'name': 'py专业13:54:17_2', 'code': 'py_code13:54:17_2', 'departmentId': '', 'category': 'science'}
Shishutong authored
751 752 753 754 755 756 757 758
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_specialty_02 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
759 760
            
                <tr>
Shishutong authored
761 762 763 764
                    <td>17</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_03</td>
                    <td>新增专业失败,院系不存在</td>
Shishutong authored
765
                    <td>1.25s</td>
Shishutong authored
766
                    
Shishutong authored
767
                        <td class="text-success">成功</td>
Shishutong authored
768 769
                    
                    <td>
Shishutong authored
770
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
771 772 773 774 775
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
776
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
777 778
                        
Shishutong authored
779
                            <pre>用例入参:{'name': 'py专业13:54:18_3', 'code': 'py_code13:54:18_3', 'departmentId': '23232333333', 'category': 'science'}
Shishutong authored
780 781 782 783 784 785 786 787
预期结果: {'msg': '院系不存在', 'code': 500, 'data': None}
实际结果: {'msg': '院系不存在', 'code': 500, 'data': None}
test_add_specialty_03 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
788 789
            
                <tr>
Shishutong authored
790 791 792 793
                    <td>18</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_04</td>
                    <td>新增专业失败,专业名称未填写</td>
Shishutong authored
794
                    <td>1.21s</td>
Shishutong authored
795
                    
Shishutong authored
796
                        <td class="text-success">成功</td>
Shishutong authored
797 798
                    
                    <td>
Shishutong authored
799
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
800 801 802 803 804
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
805
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
806 807
                        
Shishutong authored
808
                            <pre>用例入参:{'name': '', 'code': 'py_code13:54:19_4', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
809 810 811 812 813 814 815 816
预期结果: {'msg': '专业名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '专业名称不能为空', 'code': 500, 'data': None}
test_add_specialty_04 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
817 818
            
                <tr>
Shishutong authored
819 820 821 822
                    <td>19</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_05</td>
                    <td>专业名称长度不能大于30</td>
Shishutong authored
823
                    <td>1.2s</td>
Shishutong authored
824
                    
Shishutong authored
825
                        <td class="text-success">成功</td>
Shishutong authored
826 827
                    
                    <td>
Shishutong authored
828
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
829 830 831 832 833
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
834
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
835 836
                        
Shishutong authored
837
                            <pre>用例入参:{'name': '专业大于301234567890专业大于301234567890', 'code': 'py_code13:54:20_5', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
838 839 840 841 842 843 844 845
预期结果: {'msg': '专业名称长度不能大于30', 'code': 500, 'data': None}
实际结果: {'msg': '专业名称长度不能大于30', 'code': 500, 'data': None}
test_add_specialty_05 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
846 847
            
                <tr>
Shishutong authored
848 849 850 851
                    <td>20</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_06</td>
                    <td>新增专业失败,专业名称重复</td>
Shishutong authored
852
                    <td>1.19s</td>
Shishutong authored
853
                    
Shishutong authored
854
                        <td class="text-success">成功</td>
Shishutong authored
855 856
                    
                    <td>
Shishutong authored
857
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
858 859 860 861 862
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
863
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
864 865
                        
Shishutong authored
866
                            <pre>用例入参:{'name': '第二个专业-2-1', 'code': 'py_code13:54:21_6', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
867 868 869 870 871 872 873 874
预期结果: {'msg': '专业名称已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '专业名称已存在,请确认', 'code': 500, 'data': None}
test_add_specialty_06 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
875 876
            
                <tr>
Shishutong authored
877 878 879 880
                    <td>21</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_07</td>
                    <td>新增专业失败,专业代码重复</td>
Shishutong authored
881
                    <td>1.16s</td>
Shishutong authored
882
                    
Shishutong authored
883
                        <td class="text-success">成功</td>
Shishutong authored
884 885
                    
                    <td>
Shishutong authored
886
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
887 888 889 890 891
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
892
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
893 894
                        
Shishutong authored
895
                            <pre>用例入参:{'name': 'py专业13:54:23_7', 'code': '12', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
896 897 898 899 900 901 902 903
预期结果: {'msg': '专业代码已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '专业代码已存在,请确认', 'code': 500, 'data': None}
test_add_specialty_07 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
904 905
            
                <tr>
Shishutong authored
906 907 908 909
                    <td>22</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_08</td>
                    <td>新增专业失败,专业代码未填写</td>
Shishutong authored
910
                    <td>1.15s</td>
Shishutong authored
911
                    
Shishutong authored
912
                        <td class="text-success">成功</td>
Shishutong authored
913 914
                    
                    <td>
Shishutong authored
915
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
916 917 918 919 920
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
921
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
922 923
                        
Shishutong authored
924
                            <pre>用例入参:{'name': 'py专业13:54:24_8', 'code': '', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
925 926 927 928 929 930 931 932
预期结果: {'msg': '专业代码不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '专业代码不能为空', 'code': 500, 'data': None}
test_add_specialty_08 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
933 934
            
                <tr>
Shishutong authored
935 936 937 938
                    <td>23</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_09</td>
                    <td>新增专业失败,专业代码长度不能大于30</td>
Shishutong authored
939
                    <td>1.29s</td>
Shishutong authored
940
                    
Shishutong authored
941
                        <td class="text-success">成功</td>
Shishutong authored
942 943
                    
                    <td>
Shishutong authored
944
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
945 946 947 948 949
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
950
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
951 952
                        
Shishutong authored
953
                            <pre>用例入参:{'name': 'py专业13:54:25_9', 'code': '专业代码大于301234567890专业大于301234567890', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
954 955 956 957 958 959 960 961
预期结果: {'msg': '专业代码长度不能大于30', 'code': 500, 'data': None}
实际结果: {'msg': '专业代码长度不能大于30', 'code': 500, 'data': None}
test_add_specialty_09 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
962 963
            
                <tr>
Shishutong authored
964 965 966 967
                    <td>24</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_10</td>
                    <td>新增专业失败,学科门类未填写</td>
Shishutong authored
968
                    <td>1.12s</td>
Shishutong authored
969
                    
Shishutong authored
970
                        <td class="text-success">成功</td>
Shishutong authored
971 972
                    
                    <td>
Shishutong authored
973
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
974 975 976 977 978
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
979
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
980 981
                        
Shishutong authored
982
                            <pre>用例入参:{'name': 'py专业13:54:26_10', 'code': 'py_code13:54:26_10', 'departmentId': '1672845638989377538', 'category': ''}
Shishutong authored
983 984 985 986 987 988 989 990
预期结果: {'msg': '学科门类不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学科门类不能为空', 'code': 500, 'data': None}
test_add_specialty_10 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
991 992
            
                <tr>
Shishutong authored
993 994 995 996
                    <td>25</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_11</td>
                    <td>新增专业失败,学科门类填写错误</td>
Shishutong authored
997
                    <td>1.19s</td>
Shishutong authored
998
                    
Shishutong authored
999
                        <td class="text-success">成功</td>
Shishutong authored
1000 1001
                    
                    <td>
Shishutong authored
1002
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1003 1004 1005 1006 1007
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1008
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1009 1010
                        
Shishutong authored
1011
                            <pre>用例入参:{'name': 'py专业13:54:27_11', 'code': 'py_code13:54:27_11', 'departmentId': '1672845638989377538', 'category': 'scienwce'}
Shishutong authored
1012 1013 1014 1015 1016 1017 1018 1019
预期结果: {'msg': '学科门类不存在', 'code': 500, 'data': None}
实际结果: {'msg': '学科门类不存在', 'code': 500, 'data': None}
test_add_specialty_11 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1020 1021
            
                <tr>
Shishutong authored
1022 1023 1024 1025
                    <td>26</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_12</td>
                    <td>新增专业成功</td>
Shishutong authored
1026
                    <td>1.23s</td>
Shishutong authored
1027
                    
Shishutong authored
1028
                        <td class="text-success">成功</td>
Shishutong authored
1029 1030
                    
                    <td>
Shishutong authored
1031
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1032 1033 1034 1035 1036
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1037
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1038 1039
                        
Shishutong authored
1040
                            <pre>用例入参:{'name': 'py专业13:54:29_12', 'code': 'py_code13:54:29_12', 'departmentId': '1672845638989377538', 'category': 'science'}
Shishutong authored
1041 1042 1043 1044 1045 1046 1047 1048
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_specialty_12 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1049 1050
            
                <tr>
Shishutong authored
1051 1052 1053 1054
                    <td>27</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_1</td>
                    <td>新增学年学期成功</td>
Shishutong authored
1055
                    <td>1.68s</td>
Shishutong authored
1056
                    
Shishutong authored
1057
                        <td class="text-warning">失败</td>
Shishutong authored
1058 1059
                    
                    <td>
Shishutong authored
1060
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1061 1062 1063 1064 1065
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1066
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1067 1068
                        
Shishutong authored
1069
                            <pre>用例入参:{'year': 'py学年13:54:30_1', 'remark': 'py_comment备注13:54:30_1', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1070
预期结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
实际结果: {'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
+ 该学年已存在,请确认
Shishutong authored
1202 1203 1204 1205 1206
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1207 1208
            
                <tr>
Shishutong authored
1209 1210 1211 1212
                    <td>28</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_2</td>
                    <td>学年名称不可超过30字</td>
Shishutong authored
1213
                    <td>0.29s</td>
Shishutong authored
1214
                    
Shishutong authored
1215
                        <td class="text-success">成功</td>
Shishutong authored
1216 1217
                    
                    <td>
Shishutong authored
1218
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1219 1220 1221 1222 1223
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1224
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1225 1226
                        
Shishutong authored
1227
                            <pre>用例入参:{'year': '1234567890123456789012345678901', 'remark': 'py_comment备注13:54:32_2', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1228 1229 1230 1231 1232 1233 1234 1235
预期结果: {'msg': '学年长度不可大于30位', 'code': 500, 'data': None}
实际结果: {'msg': '学年长度不可大于30位', 'code': 500, 'data': None}
test_add_year_2 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1236 1237
            
                <tr>
Shishutong authored
1238 1239 1240 1241
                    <td>29</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_3</td>
                    <td>学年学期开始时间和结束时间不可交叉</td>
Shishutong authored
1242
                    <td>0.272s</td>
Shishutong authored
1243
                    
Shishutong authored
1244
                        <td class="text-success">成功</td>
Shishutong authored
1245 1246
                    
                    <td>
Shishutong authored
1247
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1248 1249 1250 1251 1252
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1253
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1254 1255
                        
Shishutong authored
1256
                            <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}]}
Shishutong authored
1257 1258 1259 1260 1261 1262 1263 1264
预期结果: {'msg': '学期起止时间不能交叉', 'code': 500, 'data': None}
实际结果: {'msg': '学期起止时间不能交叉', 'code': 500, 'data': None}
test_add_year_3 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1265 1266
            
                <tr>
Shishutong authored
1267 1268 1269 1270
                    <td>30</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_4</td>
                    <td>学年未填写</td>
Shishutong authored
1271
                    <td>0.263s</td>
Shishutong authored
1272
                    
Shishutong authored
1273
                        <td class="text-success">成功</td>
Shishutong authored
1274 1275
                    
                    <td>
Shishutong authored
1276
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1277 1278 1279 1280 1281
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1282
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1283 1284
                        
Shishutong authored
1285
                            <pre>用例入参:{'year': '', 'remark': 'py_comment备注13:54:32_4', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1286 1287 1288 1289 1290 1291 1292 1293
预期结果: {'msg': '学年不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学年不能为空', 'code': 500, 'data': None}
test_add_year_4 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1294 1295
            
                <tr>
Shishutong authored
1296 1297 1298 1299
                    <td>31</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_5</td>
                    <td>学期未填写</td>
Shishutong authored
1300
                    <td>0.277s</td>
Shishutong authored
1301
                    
Shishutong authored
1302
                        <td class="text-success">成功</td>
Shishutong authored
1303 1304
                    
                    <td>
Shishutong authored
1305
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1306 1307 1308 1309 1310
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1311
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1312 1313
                        
Shishutong authored
1314
                            <pre>用例入参:{'year': 'py学年13:54:33_5', 'remark': 'py_comment备注13:54:33_5', 'terms': [{'sort': '', 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1315 1316 1317 1318 1319 1320 1321 1322
预期结果: {'msg': '学期排序不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期排序不能为空', 'code': 500, 'data': None}
test_add_year_5 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1323 1324
            
                <tr>
Shishutong authored
1325 1326 1327 1328
                    <td>32</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_6</td>
                    <td>学期开始时间未填写</td>
Shishutong authored
1329
                    <td>0.284s</td>
Shishutong authored
1330
                    
Shishutong authored
1331
                        <td class="text-success">成功</td>
Shishutong authored
1332 1333
                    
                    <td>
Shishutong authored
1334
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1335 1336 1337 1338 1339
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1340
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1341 1342
                        
Shishutong authored
1343
                            <pre>用例入参:{'year': 'py学年13:54:33_6', 'remark': 'py_comment备注13:54:33_6', 'terms': [{'sort': 1, 'startTime': '', 'endTime': 1704115459000}]}
Shishutong authored
1344 1345 1346 1347 1348 1349 1350 1351
预期结果: {'msg': '学期开始时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期开始时间不能为空', 'code': 500, 'data': None}
test_add_year_6 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1352 1353
            
                <tr>
Shishutong authored
1354 1355 1356 1357
                    <td>33</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_7</td>
                    <td>学期结束时间未填写</td>
Shishutong authored
1358
                    <td>0.286s</td>
Shishutong authored
1359
                    
Shishutong authored
1360
                        <td class="text-success">成功</td>
Shishutong authored
1361 1362
                    
                    <td>
Shishutong authored
1363
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1364 1365 1366 1367 1368
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1369
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1370 1371
                        
Shishutong authored
1372
                            <pre>用例入参:{'year': 'py学年13:54:33_7', 'remark': 'py_comment备注13:54:33_7', 'terms': [{'sort': 1, 'startTime': 1704115459000, 'endTime': ''}]}
Shishutong authored
1373 1374 1375 1376 1377 1378 1379 1380
预期结果: {'msg': '学期结束时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期结束时间不能为空', 'code': 500, 'data': None}
test_add_year_7 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1381 1382
            
                <tr>
Shishutong authored
1383 1384 1385 1386
                    <td>34</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_8</td>
                    <td>学期不可超过5个学期</td>
Shishutong authored
1387
                    <td>0.302s</td>
Shishutong authored
1388
                    
Shishutong authored
1389
                        <td class="text-success">成功</td>
Shishutong authored
1390 1391
                    
                    <td>
Shishutong authored
1392
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1393 1394 1395 1396 1397
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1398
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1399 1400
                        
Shishutong authored
1401
                            <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}]}
Shishutong authored
1402 1403 1404 1405 1406 1407 1408 1409
预期结果: {'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>
Shishutong authored
1410 1411
            
                <tr>
Shishutong authored
1412 1413 1414 1415
                    <td>35</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_9</td>
                    <td>新增学年学期成功</td>
Shishutong authored
1416
                    <td>0.316s</td>
Shishutong authored
1417
                    
Shishutong authored
1418
                        <td class="text-success">成功</td>
Shishutong authored
1419 1420
                    
                    <td>
Shishutong authored
1421
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1422 1423 1424 1425 1426
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1427
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1428 1429
                        
Shishutong authored
1430
                            <pre>用例入参:{'year': 'py学年13:54:34_9', 'remark': 'py_comment备注13:54:34_9', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1431 1432 1433 1434 1435 1436 1437 1438
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_year_9 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1439 1440
            
                <tr>
Shishutong authored
1441 1442 1443 1444
                    <td>36</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_01</td>
                    <td>新增教师</td>
Shishutong authored
1445
                    <td>0.566s</td>
Shishutong authored
1446
                    
Shishutong authored
1447
                        <td class="text-success">成功</td>
Shishutong authored
1448 1449
                    
                    <td>
Shishutong authored
1450
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1451 1452 1453 1454 1455
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1456
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1457 1458
                        
Shishutong authored
1459
                            <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'}
Shishutong authored
1460 1461 1462 1463 1464 1465 1466 1467
预期结果: {'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>
Shishutong authored
1468 1469
            
                <tr>
Shishutong authored
1470 1471 1472 1473
                    <td>37</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_02</td>
                    <td>教师姓名不能为空</td>
Shishutong authored
1474
                    <td>0.29s</td>
Shishutong authored
1475
                    
Shishutong authored
1476
                        <td class="text-success">成功</td>
Shishutong authored
1477 1478
                    
                    <td>
Shishutong authored
1479
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1480 1481 1482 1483 1484
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1485
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1486 1487
                        
Shishutong authored
1488
                            <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'}
Shishutong authored
1489 1490 1491 1492 1493 1494 1495 1496
预期结果: {'msg': '教师姓名不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师姓名不能为空', 'code': 500, 'data': None}
test_add_teacher_info_02 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1497 1498
            
                <tr>
Shishutong authored
1499 1500 1501 1502
                    <td>38</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_03</td>
                    <td>教师手机号不能为空</td>
Shishutong authored
1503
                    <td>0.278s</td>
Shishutong authored
1504
                    
Shishutong authored
1505
                        <td class="text-success">成功</td>
Shishutong authored
1506 1507
                    
                    <td>
Shishutong authored
1508
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1509 1510 1511 1512 1513
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1514
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1515 1516
                        
Shishutong authored
1517
                            <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'}
Shishutong authored
1518 1519 1520 1521 1522 1523 1524 1525
预期结果: {'msg': '教师手机号不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师手机号不能为空', 'code': 500, 'data': None}
test_add_teacher_info_03 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1526 1527
            
                <tr>
Shishutong authored
1528 1529 1530 1531
                    <td>39</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_04</td>
                    <td>教师证件类型不能为空</td>
Shishutong authored
1532
                    <td>0.282s</td>
Shishutong authored
1533
                    
Shishutong authored
1534
                        <td class="text-success">成功</td>
Shishutong authored
1535 1536
                    
                    <td>
Shishutong authored
1537
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1538 1539 1540 1541 1542
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1543
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1544 1545
                        
Shishutong authored
1546
                            <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'}
Shishutong authored
1547 1548 1549 1550 1551 1552 1553 1554
预期结果: {'msg': '教师证件类别不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师证件类别不能为空', 'code': 500, 'data': None}
test_add_teacher_info_04 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1555 1556
            
                <tr>
Shishutong authored
1557 1558 1559 1560
                    <td>40</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_05</td>
                    <td>教师证件号码不能为空</td>
Shishutong authored
1561
                    <td>0.3s</td>
Shishutong authored
1562
                    
Shishutong authored
1563
                        <td class="text-success">成功</td>
Shishutong authored
1564 1565
                    
                    <td>
Shishutong authored
1566
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1567 1568 1569 1570 1571
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1572
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1573 1574
                        
Shishutong authored
1575
                            <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'}
Shishutong authored
1576 1577 1578 1579 1580 1581 1582 1583
预期结果: {'msg': '教师证件号码不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师证件号码不能为空', 'code': 500, 'data': None}
test_add_teacher_info_05 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1584 1585
            
                <tr>
Shishutong authored
1586 1587 1588 1589
                    <td>41</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_06</td>
                    <td>教师角色不能为空</td>
Shishutong authored
1590
                    <td>0.293s</td>
Shishutong authored
1591
                    
Shishutong authored
1592
                        <td class="text-success">成功</td>
Shishutong authored
1593 1594
                    
                    <td>
Shishutong authored
1595
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1596 1597 1598 1599 1600
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1601
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1602 1603
                        
Shishutong authored
1604
                            <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'}
Shishutong authored
1605 1606 1607 1608 1609 1610 1611 1612
预期结果: {'msg': '教师角色不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师角色不能为空', 'code': 500, 'data': None}
test_add_teacher_info_06 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1613 1614
            
                <tr>
Shishutong authored
1615 1616 1617 1618
                    <td>42</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_07</td>
                    <td>教师性别为空,添加成功</td>
Shishutong authored
1619
                    <td>0.425s</td>
Shishutong authored
1620
                    
Shishutong authored
1621
                        <td class="text-success">成功</td>
Shishutong authored
1622 1623
                    
                    <td>
Shishutong authored
1624
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1625 1626 1627 1628 1629
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1630
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1631 1632
                        
Shishutong authored
1633
                            <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'}
Shishutong authored
1634 1635 1636 1637 1638 1639 1640 1641
预期结果: {'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>
Shishutong authored
1642 1643
            
                <tr>
Shishutong authored
1644 1645 1646 1647
                    <td>43</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_08</td>
                    <td>教师入职时间为空,添加成功</td>
Shishutong authored
1648
                    <td>0.491s</td>
Shishutong authored
1649
                    
Shishutong authored
1650
                        <td class="text-success">成功</td>
Shishutong authored
1651 1652
                    
                    <td>
Shishutong authored
1653
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1654 1655 1656 1657 1658
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1659
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1660 1661
                        
Shishutong authored
1662
                            <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'}
Shishutong authored
1663 1664 1665 1666 1667 1668 1669 1670
预期结果: {'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>
Shishutong authored
1671 1672
            
                <tr>
Shishutong authored
1673 1674 1675 1676
                    <td>44</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_09</td>
                    <td>教师邮箱为空,添加成功</td>
Shishutong authored
1677
                    <td>0.511s</td>
Shishutong authored
1678
                    
Shishutong authored
1679
                        <td class="text-success">成功</td>
Shishutong authored
1680 1681
                    
                    <td>
Shishutong authored
1682
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1683 1684 1685 1686 1687
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1688
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1689 1690
                        
Shishutong authored
1691
                            <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'}
Shishutong authored
1692 1693 1694
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_teacher_info_09 (test_03_teaching_affairs.Test01Teacher)执行——>【通过】
Shishutong authored
1695 1696 1697 1698 1699
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1700 1701
            
                <tr>
Shishutong authored
1702 1703 1704 1705
                    <td>45</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_10</td>
                    <td>教师工号为空,添加成功</td>
Shishutong authored
1706
                    <td>0.514s</td>
Shishutong authored
1707
                    
Shishutong authored
1708
                        <td class="text-success">成功</td>
Shishutong authored
1709 1710
                    
                    <td>
Shishutong authored
1711
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1712 1713 1714 1715 1716
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1717
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1718 1719
                        
Shishutong authored
1720
                            <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'}
Shishutong authored
1721 1722 1723 1724 1725 1726 1727 1728
预期结果: {'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>
Shishutong authored
1729 1730
            
                <tr>
Shishutong authored
1731 1732 1733 1734
                    <td>46</td>
                    <td class="Test01Teacher">Test01Teacher</td>
                    <td>test_add_teacher_info_11</td>
                    <td>新增教师</td>
Shishutong authored
1735
                    <td>0.511s</td>
Shishutong authored
1736
                    
Shishutong authored
1737
                        <td class="text-success">成功</td>
Shishutong authored
1738 1739
                    
                    <td>
Shishutong authored
1740
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1741 1742 1743 1744 1745
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1746
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1747 1748
                        
Shishutong authored
1749
                            <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'}
Shishutong authored
1750 1751 1752 1753 1754 1755 1756 1757
预期结果: {'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>
Shishutong authored
1758 1759
            
                <tr>
Shishutong authored
1760 1761 1762 1763
                    <td>47</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_01</td>
                    <td>新增班级</td>
Shishutong authored
1764
                    <td>0.521s</td>
Shishutong authored
1765
                    
Shishutong authored
1766
                        <td class="text-success">成功</td>
Shishutong authored
1767 1768
                    
                    <td>
Shishutong authored
1769
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1770 1771 1772 1773 1774
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1775
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1776 1777
                        
Shishutong authored
1778
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:43_1', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
1779 1780 1781 1782 1783 1784 1785 1786
预期结果: {'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>
Shishutong authored
1787 1788
            
                <tr>
Shishutong authored
1789 1790 1791 1792
                    <td>48</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_02</td>
                    <td>班级名称未填写</td>
Shishutong authored
1793
                    <td>0.618s</td>
Shishutong authored
1794
                    
Shishutong authored
1795
                        <td class="text-danger">错误</td>
Shishutong authored
1796 1797
                    
                    <td>
Shishutong authored
1798
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1799 1800 1801 1802 1803
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847
                    <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>
Shishutong authored
1848 1849
                        
Shishutong authored
1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904
                            <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】
Shishutong authored
1905 1906 1907 1908 1909
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1910 1911
            
                <tr>
Shishutong authored
1912 1913 1914 1915
                    <td>49</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_03</td>
                    <td>班级名称已存在</td>
Shishutong authored
1916
                    <td>0.308s</td>
Shishutong authored
1917
                    
Shishutong authored
1918
                        <td class="text-success">成功</td>
Shishutong authored
1919 1920
                    
                    <td>
Shishutong authored
1921
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1922 1923 1924 1925 1926
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1927
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1928 1929
                        
Shishutong authored
1930
                            <pre>用例入参:{'name': '权限测试第一个班级-1-修改1', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1607634271332593665', 'teacherId': '1607634326517051394', 'departmentId': '1607634257592053761', 'education': 'secondary'}
Shishutong authored
1931 1932 1933 1934 1935 1936 1937 1938
预期结果: {'msg': '该班级已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '该班级已存在,请确认', 'code': 500, 'data': None}
test_add_class_info_03 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1939 1940
            
                <tr>
Shishutong authored
1941 1942 1943 1944
                    <td>50</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_04</td>
                    <td>学制未填写</td>
Shishutong authored
1945
                    <td>0.615s</td>
Shishutong authored
1946
                    
Shishutong authored
1947
                        <td class="text-danger">错误</td>
Shishutong authored
1948 1949
                    
                    <td>
Shishutong authored
1950
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1951 1952 1953 1954 1955
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
                    <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>
Shishutong authored
2000 2001
                        
Shishutong authored
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056
                            <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】
Shishutong authored
2057 2058 2059 2060 2061
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2062 2063
            
                <tr>
Shishutong authored
2064 2065 2066 2067
                    <td>51</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_05</td>
                    <td>学制填写错误,最多为10年</td>
Shishutong authored
2068
                    <td>0.314s</td>
Shishutong authored
2069
                    
Shishutong authored
2070
                        <td class="text-success">成功</td>
Shishutong authored
2071 2072
                    
                    <td>
Shishutong authored
2073
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2074 2075 2076 2077 2078
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2079
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2080 2081
                        
Shishutong authored
2082
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:45_5', 'educationalSystem': '11', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
2083 2084 2085 2086 2087 2088 2089 2090
预期结果: {'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>
Shishutong authored
2091 2092
            
                <tr>
Shishutong authored
2093 2094 2095 2096
                    <td>52</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_06</td>
                    <td>学制填写错误,最多为10年</td>
Shishutong authored
2097
                    <td>0.282s</td>
Shishutong authored
2098
                    
Shishutong authored
2099
                        <td class="text-success">成功</td>
Shishutong authored
2100 2101
                    
                    <td>
Shishutong authored
2102
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2103 2104 2105 2106 2107
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2108
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2109 2110
                        
Shishutong authored
2111
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:45_6', 'educationalSystem': '100', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
2112 2113 2114 2115 2116 2117 2118 2119
预期结果: {'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>
Shishutong authored
2120 2121
            
                <tr>
Shishutong authored
2122 2123 2124 2125
                    <td>53</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_07</td>
                    <td>入学年份未填写</td>
Shishutong authored
2126
                    <td>0.727s</td>
Shishutong authored
2127
                    
Shishutong authored
2128
                        <td class="text-success">成功</td>
Shishutong authored
2129 2130
                    
                    <td>
Shishutong authored
2131
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2132 2133 2134 2135 2136
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2137
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2138 2139
                        
Shishutong authored
2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168
                            <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'}
Shishutong authored
2169 2170 2171 2172 2173 2174 2175 2176
预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
test_add_class_info_07 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2177 2178
            
                <tr>
Shishutong authored
2179 2180 2181 2182
                    <td>54</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_08</td>
                    <td>专业未填写</td>
Shishutong authored
2183
                    <td>0.279s</td>
Shishutong authored
2184
                    
Shishutong authored
2185
                        <td class="text-success">成功</td>
Shishutong authored
2186 2187
                    
                    <td>
Shishutong authored
2188
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2189 2190 2191 2192 2193
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2194
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2195 2196
                        
Shishutong authored
2197
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:46_8', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
2198 2199 2200 2201 2202 2203 2204 2205
预期结果: {'msg': '所属专业不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '所属专业不能为空', 'code': 500, 'data': None}
test_add_class_info_08 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2206 2207
            
                <tr>
Shishutong authored
2208 2209 2210 2211
                    <td>55</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_09</td>
                    <td>专业填写错误</td>
Shishutong authored
2212
                    <td>0.282s</td>
Shishutong authored
2213
                    
Shishutong authored
2214
                        <td class="text-success">成功</td>
Shishutong authored
2215 2216
                    
                    <td>
Shishutong authored
2217
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2218 2219 2220 2221 2222
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2223
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2224 2225
                        
Shishutong authored
2226
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:46_9', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1607127381431545857', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
2227 2228 2229 2230 2231 2232 2233 2234
预期结果: {'msg': '专业不存在', 'code': 500, 'data': None}
实际结果: {'msg': '专业不存在', 'code': 500, 'data': None}
test_add_class_info_09 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2235 2236
            
                <tr>
Shishutong authored
2237 2238 2239
                    <td>56</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_10</td>
Shishutong authored
2240 2241
                    <td>院系可以为空</td>
                    <td>0.307s</td>
Shishutong authored
2242
                    
Shishutong authored
2243
                        <td class="text-success">成功</td>
Shishutong authored
2244 2245
                    
                    <td>
Shishutong authored
2246
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2247 2248 2249 2250 2251
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2252
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2253 2254
                        
Shishutong authored
2255 2256 2257
                            <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}
Shishutong authored
2258 2259 2260 2261 2262 2263
test_add_class_info_10 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2264 2265
            
                <tr>
Shishutong authored
2266 2267 2268
                    <td>57</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_11</td>
Shishutong authored
2269 2270
                    <td>院系下没有该专业</td>
                    <td>0.293s</td>
Shishutong authored
2271
                    
Shishutong authored
2272
                        <td class="text-success">成功</td>
Shishutong authored
2273 2274
                    
                    <td>
Shishutong authored
2275
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2276 2277 2278 2279 2280
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2281
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2282 2283
                        
Shishutong authored
2284 2285 2286
                            <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}
Shishutong authored
2287 2288 2289 2290 2291 2292
test_add_class_info_11 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2293 2294
            
                <tr>
Shishutong authored
2295 2296 2297
                    <td>58</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_12</td>
Shishutong authored
2298
                    <td>教师未填写,添加成功</td>
Shishutong authored
2299
                    <td>0.311s</td>
Shishutong authored
2300
                    
Shishutong authored
2301
                        <td class="text-success">成功</td>
Shishutong authored
2302 2303
                    
                    <td>
Shishutong authored
2304
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2305 2306 2307 2308 2309
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2310
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2311 2312
                        
Shishutong authored
2313 2314 2315
                            <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}
Shishutong authored
2316 2317 2318 2319 2320 2321
test_add_class_info_12 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2322 2323
            
                <tr>
Shishutong authored
2324 2325 2326 2327
                    <td>59</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_13</td>
                    <td>教师填写错误</td>
Shishutong authored
2328
                    <td>0.296s</td>
Shishutong authored
2329
                    
Shishutong authored
2330
                        <td class="text-success">成功</td>
Shishutong authored
2331 2332
                    
                    <td>
Shishutong authored
2333
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2334 2335 2336 2337 2338
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2339
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2340 2341
                        
Shishutong authored
2342
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:48_13', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1607612806826909697', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
2343 2344
预期结果: {'msg': '教师不存在', 'code': 500, 'data': None}
实际结果: {'msg': '教师不存在', 'code': 500, 'data': None}
Shishutong authored
2345
test_add_class_info_13 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
2346 2347 2348 2349 2350
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2351 2352 2353
            
                <tr>
                    <td>60</td>
Shishutong authored
2354
                    <td class="Test02Class">Test02Class</td>
Shishutong authored
2355
                    <td>test_add_class_info_14</td>
Shishutong authored
2356
                    <td>新增班级</td>
Shishutong authored
2357
                    <td>0.3s</td>
Shishutong authored
2358
                    
Shishutong authored
2359
                        <td class="text-success">成功</td>
Shishutong authored
2360 2361
                    
                    <td>
Shishutong authored
2362
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2363 2364 2365 2366 2367
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2368
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2369 2370
                        
Shishutong authored
2371
                            <pre>用例入参:{'name': 'py自动化班级20230625_13:54:48_14', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1672845702986067970', 'teacherId': '1672845745143017473', 'departmentId': '1672845638989377538', 'education': 'secondary'}
Shishutong authored
2372 2373
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
2374
test_add_class_info_14 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
2375 2376 2377 2378 2379
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2380 2381 2382
            
                <tr>
                    <td>61</td>
Shishutong authored
2383 2384 2385
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_01</td>
                    <td>新增课程</td>
Shishutong authored
2386
                    <td>0.334s</td>
Shishutong authored
2387
                    
Shishutong authored
2388
                        <td class="text-success">成功</td>
Shishutong authored
2389 2390
                    
                    <td>
Shishutong authored
2391
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2392 2393 2394 2395 2396
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2397
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2398 2399
                        
Shishutong authored
2400
                            <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'}
Shishutong authored
2401 2402 2403 2404 2405 2406 2407 2408
预期结果: {'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>
Shishutong authored
2409 2410 2411
            
                <tr>
                    <td>62</td>
Shishutong authored
2412 2413 2414
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_02</td>
                    <td>课程名称不能为空</td>
Shishutong authored
2415
                    <td>0.288s</td>
Shishutong authored
2416
                    
Shishutong authored
2417
                        <td class="text-success">成功</td>
Shishutong authored
2418 2419
                    
                    <td>
Shishutong authored
2420
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2421 2422 2423 2424 2425
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2426
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2427 2428
                        
Shishutong authored
2429
                            <pre>用例入参:{'name': '', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '50', 'code': '20230625_13:54:51'}
Shishutong authored
2430 2431 2432 2433 2434 2435 2436 2437
预期结果: {'msg': '课程名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '课程名称不能为空', 'code': 500, 'data': None}
test_add_course_info_02 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2438 2439 2440
            
                <tr>
                    <td>63</td>
Shishutong authored
2441 2442 2443
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_03</td>
                    <td>课程名称不能超过30字</td>
Shishutong authored
2444
                    <td>0.266s</td>
Shishutong authored
2445
                    
Shishutong authored
2446
                        <td class="text-success">成功</td>
Shishutong authored
2447 2448
                    
                    <td>
Shishutong authored
2449
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2450 2451 2452 2453 2454
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2455
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2456 2457
                        
Shishutong authored
2458
                            <pre>用例入参:{'name': '1234567890123456789012345678901', 'practiceTypeId': '1670630546881245185', 'departmentId': '1672845638989377538', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1672845721008992257'], 'professionalIds': ['1672845702986067970'], 'yearId': '51', 'code': '20230625_13:54:51'}
Shishutong authored
2459 2460 2461 2462 2463 2464 2465 2466
预期结果: {'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>
Shishutong authored
2467 2468 2469
            
                <tr>
                    <td>64</td>
Shishutong authored
2470 2471 2472
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_04</td>
                    <td>实践类型不能为空</td>
Shishutong authored
2473
                    <td>0.265s</td>
Shishutong authored
2474
                    
Shishutong authored
2475
                        <td class="text-success">成功</td>
Shishutong authored
2476 2477
                    
                    <td>
Shishutong authored
2478
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2479 2480 2481 2482 2483
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2484
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2485 2486
                        
Shishutong authored
2487
                            <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'}
Shishutong authored
2488 2489 2490 2491 2492 2493 2494 2495
预期结果: {'msg': '实践类型不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '实践类型不能为空', 'code': 500, 'data': None}
test_add_course_info_04 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2496 2497 2498
            
                <tr>
                    <td>65</td>
Shishutong authored
2499 2500 2501
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_05</td>
                    <td>院系不能为空</td>
Shishutong authored
2502
                    <td>0.283s</td>
Shishutong authored
2503
                    
Shishutong authored
2504
                        <td class="text-success">成功</td>
Shishutong authored
2505 2506
                    
                    <td>
Shishutong authored
2507
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2508 2509 2510 2511 2512
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2513
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2514 2515
                        
Shishutong authored
2516
                            <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'}
Shishutong authored
2517 2518 2519 2520 2521 2522 2523 2524
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_course_info_05 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2525 2526 2527
            
                <tr>
                    <td>66</td>
Shishutong authored
2528 2529 2530
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_06</td>
                    <td>院系不能为空</td>
Shishutong authored
2531
                    <td>0.287s</td>
Shishutong authored
2532
                    
Shishutong authored
2533
                        <td class="text-success">成功</td>
Shishutong authored
2534 2535
                    
                    <td>
Shishutong authored
2536
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2537 2538 2539 2540 2541
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2542
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2543 2544
                        
Shishutong authored
2545
                            <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'}
Shishutong authored
2546 2547 2548 2549
预期结果: {'msg': '院系不存在', 'code': 500, 'data': None}
实际结果: {'msg': '院系不存在', 'code': 500, 'data': None}
test_add_course_info_06 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
Shishutong authored
2550 2551
                        
                        
Shishutong authored
2552 2553
                    </td>
                </tr>
Shishutong authored
2554 2555 2556
            
                <tr>
                    <td>67</td>
Shishutong authored
2557 2558 2559
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_07</td>
                    <td>学分不能为空</td>
Shishutong authored
2560
                    <td>0.282s</td>
Shishutong authored
2561
                    
Shishutong authored
2562
                        <td class="text-success">成功</td>
Shishutong authored
2563 2564
                    
                    <td>
Shishutong authored
2565
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2566 2567 2568 2569 2570
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2571
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2572 2573
                        
Shishutong authored
2574
                            <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'}
Shishutong authored
2575 2576 2577 2578 2579 2580 2581 2582
预期结果: {'msg': '学分不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学分不能为空', 'code': 500, 'data': None}
test_add_course_info_07 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2583 2584 2585
            
                <tr>
                    <td>68</td>
Shishutong authored
2586 2587 2588
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_08</td>
                    <td>修读性质不能为空</td>
Shishutong authored
2589
                    <td>0.277s</td>
Shishutong authored
2590
                    
Shishutong authored
2591
                        <td class="text-success">成功</td>
Shishutong authored
2592 2593
                    
                    <td>
Shishutong authored
2594
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2595 2596
                    </td>
                </tr>
Shishutong authored
2597
Shishutong authored
2598
                <tr class="test_log">
Shishutong authored
2599
Shishutong authored
2600
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2601
                        
Shishutong authored
2602
Shishutong authored
2603
                            <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'}
Shishutong authored
2604 2605 2606 2607 2608 2609 2610 2611
预期结果: {'msg': '修读性质不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '修读性质不能为空', 'code': 500, 'data': None}
test_add_course_info_08 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2612 2613 2614
            
                <tr>
                    <td>69</td>
Shishutong authored
2615 2616 2617
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_09</td>
                    <td>修读性质填写错误</td>
Shishutong authored
2618
                    <td>0.284s</td>
Shishutong authored
2619
                    
Shishutong authored
2620
                        <td class="text-success">成功</td>
Shishutong authored
2621 2622
                    
                    <td>
Shishutong authored
2623
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2624 2625
                    </td>
                </tr>
Shishutong authored
2626
Shishutong authored
2627
                <tr class="test_log">
Shishutong authored
2628
Shishutong authored
2629
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2630
                        
Shishutong authored
2631
Shishutong authored
2632
                            <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'}
Shishutong authored
2633 2634 2635 2636 2637 2638 2639
预期结果: {'msg': '修读性质填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '修读性质填写错误', 'code': 500, 'data': None}
test_add_course_info_09 (test_03_teaching_affairs.Test03Course)执行——>【通过】
</pre>
                        
                        
                    </td>
Shishutong authored
2640
                </tr>
Shishutong authored
2641 2642 2643
            
                <tr>
                    <td>70</td>
Shishutong authored
2644 2645 2646
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_10</td>
                    <td>学时(周数)不能为空</td>
Shishutong authored
2647
                    <td>0.281s</td>
Shishutong authored
2648
                    
Shishutong authored
2649
                        <td class="text-success">成功</td>
Shishutong authored
2650 2651
                    
                    <td>
Shishutong authored
2652
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2653 2654 2655 2656 2657
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2658
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2659 2660
                        
Shishutong authored
2661
                            <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'}
Shishutong authored
2662 2663 2664
预期结果: {'msg': '学时不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学时不能为空', 'code': 500, 'data': None}
test_add_course_info_10 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2665 2666 2667 2668 2669
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2670 2671 2672
            
                <tr>
                    <td>71</td>
Shishutong authored
2673 2674 2675
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_11</td>
                    <td>学期不能为空</td>
Shishutong authored
2676
                    <td>0.298s</td>
Shishutong authored
2677
                    
Shishutong authored
2678
                        <td class="text-success">成功</td>
Shishutong authored
2679 2680
                    
                    <td>
Shishutong authored
2681
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2682 2683 2684 2685 2686
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2687
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2688 2689
                        
Shishutong authored
2690
                            <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'}
Shishutong authored
2691 2692 2693
预期结果: {'msg': '学期不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期不能为空', 'code': 500, 'data': None}
test_add_course_info_11 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2694 2695 2696 2697 2698
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2699 2700 2701
            
                <tr>
                    <td>72</td>
Shishutong authored
2702 2703 2704
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_12</td>
                    <td>专业不能为空</td>
Shishutong authored
2705
                    <td>0.29s</td>
Shishutong authored
2706
                    
Shishutong authored
2707
                        <td class="text-success">成功</td>
Shishutong authored
2708 2709
                    
                    <td>
Shishutong authored
2710
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2711 2712 2713 2714 2715
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2716
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2717 2718
                        
Shishutong authored
2719
                            <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'}
Shishutong authored
2720 2721 2722
预期结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
实际结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
test_add_course_info_12 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2723 2724 2725 2726 2727
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2728 2729 2730
            
                <tr>
                    <td>73</td>
Shishutong authored
2731 2732 2733
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_13</td>
                    <td>专业填写错误</td>
Shishutong authored
2734
                    <td>0.285s</td>
Shishutong authored
2735
                    
Shishutong authored
2736
                        <td class="text-success">成功</td>
Shishutong authored
2737 2738
                    
                    <td>
Shishutong authored
2739
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2740 2741 2742 2743 2744
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2745
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2746 2747
                        
Shishutong authored
2748
                            <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'}
Shishutong authored
2749 2750 2751
预期结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
实际结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
test_add_course_info_13 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2752 2753 2754 2755 2756
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2757 2758 2759 2760
            
                <tr>
                    <td>74</td>
                    <td class="Test03Course">Test03Course</td>
Shishutong authored
2761 2762
                    <td>test_add_course_info_14</td>
                    <td>新增课程</td>
Shishutong authored
2763
                    <td>0.282s</td>
Shishutong authored
2764
                    
Shishutong authored
2765
                        <td class="text-success">成功</td>
Shishutong authored
2766 2767
                    
                    <td>
Shishutong authored
2768
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2769 2770 2771 2772 2773
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2774
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2775 2776
                        
Shishutong authored
2777
                            <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'}
Shishutong authored
2778 2779 2780
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_course_info_14 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2781 2782 2783 2784 2785
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2786 2787 2788
            
                <tr>
                    <td>75</td>
Shishutong authored
2789 2790 2791
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_01</td>
                    <td>新增学生成功</td>
Shishutong authored
2792
                    <td>0.512s</td>
Shishutong authored
2793
                    
Shishutong authored
2794
                        <td class="text-success">成功</td>
Shishutong authored
2795 2796
                    
                    <td>
Shishutong authored
2797
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2798 2799 2800 2801 2802
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2803
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2804 2805
                        
Shishutong authored
2806
                            <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'}
Shishutong authored
2807 2808
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
2809
test_add_student_info_01 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2810 2811 2812 2813 2814
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2815 2816 2817
            
                <tr>
                    <td>76</td>
Shishutong authored
2818 2819 2820
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_02</td>
                    <td>学生姓名未填写失败</td>
Shishutong authored
2821
                    <td>0.296s</td>
Shishutong authored
2822
                    
Shishutong authored
2823
                        <td class="text-success">成功</td>
Shishutong authored
2824 2825
                    
                    <td>
Shishutong authored
2826
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2827 2828 2829 2830 2831
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2832
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2833 2834
                        
Shishutong authored
2835
                            <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'}
Shishutong authored
2836 2837 2838
预期结果: {'msg': '姓名不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '姓名不能为空', 'code': 500, 'data': None}
test_add_student_info_02 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2839 2840 2841 2842 2843
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2844 2845 2846
            
                <tr>
                    <td>77</td>
Shishutong authored
2847 2848 2849
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_03</td>
                    <td>学生学号未填写失败</td>
Shishutong authored
2850
                    <td>0.537s</td>
Shishutong authored
2851
                    
Shishutong authored
2852
                        <td class="text-success">成功</td>
Shishutong authored
2853 2854
                    
                    <td>
Shishutong authored
2855
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2856 2857 2858 2859 2860
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2861
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2862 2863
                        
Shishutong authored
2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880
                            <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'}
Shishutong authored
2881 2882 2883
预期结果: {'msg': '学生学号不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学生学号不能为空', 'code': 500, 'data': None}
test_add_student_info_03 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2884 2885 2886 2887 2888
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2889 2890 2891
            
                <tr>
                    <td>78</td>
Shishutong authored
2892 2893 2894
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_04</td>
                    <td>手机号未填写,添加成功</td>
Shishutong authored
2895
                    <td>0.356s</td>
Shishutong authored
2896
                    
Shishutong authored
2897
                        <td class="text-success">成功</td>
Shishutong authored
2898 2899
                    
                    <td>
Shishutong authored
2900
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2901 2902 2903 2904 2905
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2906
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2907 2908
                        
Shishutong authored
2909
                            <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'}
Shishutong authored
2910 2911 2912
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_04 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2913 2914 2915 2916 2917
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2918 2919 2920
            
                <tr>
                    <td>79</td>
Shishutong authored
2921 2922 2923
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_05</td>
                    <td>入学年份未填写,添加失败</td>
Shishutong authored
2924
                    <td>0.283s</td>
Shishutong authored
2925
                    
Shishutong authored
2926
                        <td class="text-success">成功</td>
Shishutong authored
2927 2928
                    
                    <td>
Shishutong authored
2929
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2930 2931 2932 2933 2934
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2935
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2936 2937
                        
Shishutong authored
2938
                            <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'}
Shishutong authored
2939 2940 2941
预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
test_add_student_info_05 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2942 2943 2944 2945 2946
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2947 2948 2949
            
                <tr>
                    <td>80</td>
Shishutong authored
2950 2951 2952
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_06</td>
                    <td>班级未填写,添加失败</td>
Shishutong authored
2953
                    <td>0.307s</td>
Shishutong authored
2954
                    
Shishutong authored
2955
                        <td class="text-success">成功</td>
Shishutong authored
2956 2957
                    
                    <td>
Shishutong authored
2958
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2959 2960 2961 2962 2963
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2964
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2965 2966
                        
Shishutong authored
2967
                            <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'}
Shishutong authored
2968 2969 2970
预期结果: {'msg': '班级不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '班级不能为空', 'code': 500, 'data': None}
test_add_student_info_06 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2971 2972 2973 2974 2975
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2976 2977 2978
            
                <tr>
                    <td>81</td>
Shishutong authored
2979 2980 2981
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_07</td>
                    <td>证件类型和证件号码都没填写,添加成功</td>
Shishutong authored
2982
                    <td>0.332s</td>
Shishutong authored
2983
                    
Shishutong authored
2984
                        <td class="text-success">成功</td>
Shishutong authored
2985 2986
                    
                    <td>
Shishutong authored
2987
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2988 2989 2990 2991 2992
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2993
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2994 2995
                        
Shishutong authored
2996
                            <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'}
Shishutong authored
2997 2998 2999
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_07 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3000 3001 3002 3003 3004
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3005 3006 3007
            
                <tr>
                    <td>82</td>
Shishutong authored
3008 3009 3010
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_08</td>
                    <td>证件类型未填,证件号码填写,添加失败</td>
Shishutong authored
3011
                    <td>0.309s</td>
Shishutong authored
3012
                    
Shishutong authored
3013
                        <td class="text-success">成功</td>
Shishutong authored
3014 3015
                    
                    <td>
Shishutong authored
3016
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3017 3018 3019 3020 3021
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3022
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3023 3024
                        
Shishutong authored
3025
                            <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'}
Shishutong authored
3026 3027 3028
预期结果: {'msg': '证件类型未填,证件号码填写', 'code': 500, 'data': None}
实际结果: {'msg': '证件类型未填,证件号码填写', 'code': 500, 'data': None}
test_add_student_info_08 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3029 3030 3031 3032 3033
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3034 3035 3036
            
                <tr>
                    <td>83</td>
Shishutong authored
3037 3038 3039
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_09</td>
                    <td>证件类型填写,证件号码未填写,添加失败</td>
Shishutong authored
3040
                    <td>0.288s</td>
Shishutong authored
3041
                    
Shishutong authored
3042
                        <td class="text-success">成功</td>
Shishutong authored
3043 3044
                    
                    <td>
Shishutong authored
3045
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3046 3047 3048 3049 3050
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3051
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3052 3053
                        
Shishutong authored
3054
                            <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'}
Shishutong authored
3055 3056 3057
预期结果: {'msg': '证件类型填写,证件号码未填写', 'code': 500, 'data': None}
实际结果: {'msg': '证件类型填写,证件号码未填写', 'code': 500, 'data': None}
test_add_student_info_09 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3058 3059 3060 3061 3062
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3063 3064 3065
            
                <tr>
                    <td>84</td>
Shishutong authored
3066 3067 3068
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_10</td>
                    <td>性别未填写,添加成功</td>
Shishutong authored
3069
                    <td>0.352s</td>
Shishutong authored
3070
                    
Shishutong authored
3071
                        <td class="text-success">成功</td>
Shishutong authored
3072 3073
                    
                    <td>
Shishutong authored
3074
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3075 3076 3077 3078 3079
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3080
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3081 3082
                        
Shishutong authored
3083
                            <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'}
Shishutong authored
3084 3085 3086
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_10 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3087 3088 3089 3090 3091
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3092 3093 3094
            
                <tr>
                    <td>85</td>
Shishutong authored
3095 3096 3097
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_11</td>
                    <td>学籍状态未填写,添加成功</td>
Shishutong authored
3098
                    <td>0.347s</td>
Shishutong authored
3099
                    
Shishutong authored
3100
                        <td class="text-success">成功</td>
Shishutong authored
3101 3102
                    
                    <td>
Shishutong authored
3103
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3104 3105 3106 3107 3108
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3109
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3110 3111
                        
Shishutong authored
3112
                            <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'}
Shishutong authored
3113 3114 3115
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_11 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3116 3117 3118 3119 3120
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3121 3122 3123
            
                <tr>
                    <td>86</td>
Shishutong authored
3124 3125 3126
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_12</td>
                    <td>培养方向未填写,添加成功</td>
Shishutong authored
3127
                    <td>0.367s</td>
Shishutong authored
3128
                    
Shishutong authored
3129
                        <td class="text-success">成功</td>
Shishutong authored
3130 3131
                    
                    <td>
Shishutong authored
3132
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3133 3134 3135 3136 3137
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3138
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3139 3140
                        
Shishutong authored
3141
                            <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'}
Shishutong authored
3142 3143 3144
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_12 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3145 3146 3147 3148 3149
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3150 3151 3152
            
                <tr>
                    <td>87</td>
Shishutong authored
3153 3154 3155
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_13</td>
                    <td>其他-备注未填写,添加成功</td>
Shishutong authored
3156
                    <td>0.369s</td>
Shishutong authored
3157
                    
Shishutong authored
3158
                        <td class="text-success">成功</td>
Shishutong authored
3159 3160
                    
                    <td>
Shishutong authored
3161
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3162 3163 3164 3165 3166
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3167
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3168 3169
                        
Shishutong authored
3170
                            <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'}
Shishutong authored
3171 3172 3173
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_13 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3174 3175 3176 3177 3178
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3179 3180 3181
            
                <tr>
                    <td>88</td>
Shishutong authored
3182 3183 3184
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_14</td>
                    <td>院系ID未填写,添加失败</td>
Shishutong authored
3185
                    <td>0.293s</td>
Shishutong authored
3186
                    
Shishutong authored
3187
                        <td class="text-success">成功</td>
Shishutong authored
3188 3189
                    
                    <td>
Shishutong authored
3190
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3191 3192 3193 3194 3195
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3196
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3197 3198
                        
Shishutong authored
3199
                            <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'}
Shishutong authored
3200 3201 3202
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_student_info_14 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3203 3204 3205 3206 3207
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3208 3209 3210
            
                <tr>
                    <td>89</td>
Shishutong authored
3211 3212 3213
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_15</td>
                    <td>专业ID未填写添加失败</td>
Shishutong authored
3214
                    <td>0.289s</td>
Shishutong authored
3215
                    
Shishutong authored
3216
                        <td class="text-success">成功</td>
Shishutong authored
3217 3218
                    
                    <td>
Shishutong authored
3219
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3220 3221 3222 3223 3224
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3225
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3226 3227
                        
Shishutong authored
3228
                            <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': ''}
Shishutong authored
3229 3230 3231
预期结果: {'msg': '专业不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '专业不能为空', 'code': 500, 'data': None}
test_add_student_info_15 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3232 3233 3234 3235 3236
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3237 3238 3239
            
                <tr>
                    <td>90</td>
Shishutong authored
3240 3241 3242
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_16</td>
                    <td>新增学生成功</td>
Shishutong authored
3243
                    <td>0.347s</td>
Shishutong authored
3244
                    
Shishutong authored
3245
                        <td class="text-success">成功</td>
Shishutong authored
3246 3247
                    
                    <td>
Shishutong authored
3248
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3249 3250 3251 3252 3253
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3254
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3255 3256
                        
Shishutong authored
3257
                            <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'}
Shishutong authored
3258 3259 3260
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_16 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
3261 3262 3263 3264 3265
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3266 3267 3268
            
                <tr>
                    <td>91</td>
Shishutong authored
3269 3270
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_01</td>
Shishutong authored
3271
                    <td>新增计划成功</td>
Shishutong authored
3272
                    <td>0.786s</td>
Shishutong authored
3273
                    
Shishutong authored
3274
                        <td class="text-success">成功</td>
Shishutong authored
3275 3276
                    
                    <td>
Shishutong authored
3277
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3278 3279 3280 3281 3282
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3283
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3284 3285
                        
Shishutong authored
3286
                            <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}
Shishutong authored
3287 3288
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
3289
test_add_plan_01 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3290 3291 3292 3293 3294
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3295 3296 3297
            
                <tr>
                    <td>92</td>
Shishutong authored
3298 3299 3300
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_02</td>
                    <td>计划名称不能为空</td>
Shishutong authored
3301
                    <td>0.358s</td>
Shishutong authored
3302
                    
Shishutong authored
3303
                        <td class="text-success">成功</td>
Shishutong authored
3304 3305
                    
                    <td>
Shishutong authored
3306
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3307 3308 3309 3310 3311
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3312
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3313 3314
                        
Shishutong authored
3315
                            <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}
Shishutong authored
3316 3317 3318
预期结果: {'msg': '名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '名称不能为空', 'code': 500, 'data': None}
test_add_plan_02 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3319 3320 3321 3322 3323
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3324 3325 3326
            
                <tr>
                    <td>93</td>
Shishutong authored
3327 3328 3329
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_03</td>
                    <td>计划名称不能大于30位</td>
Shishutong authored
3330
                    <td>0.343s</td>
Shishutong authored
3331
                    
Shishutong authored
3332
                        <td class="text-success">成功</td>
Shishutong authored
3333 3334
                    
                    <td>
Shishutong authored
3335
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3336 3337 3338 3339 3340
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3341
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3342 3343
                        
Shishutong authored
3344
                            <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}
Shishutong authored
3345 3346 3347
预期结果: {'msg': '名称不能超过30', 'code': 500, 'data': None}
实际结果: {'msg': '名称不能超过30', 'code': 500, 'data': None}
test_add_plan_03 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3348 3349 3350 3351 3352
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3353 3354 3355
            
                <tr>
                    <td>94</td>
Shishutong authored
3356 3357 3358
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_04</td>
                    <td>课程不能为空</td>
Shishutong authored
3359
                    <td>0.311s</td>
Shishutong authored
3360
                    
Shishutong authored
3361
                        <td class="text-success">成功</td>
Shishutong authored
3362 3363
                    
                    <td>
Shishutong authored
3364
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3365 3366 3367 3368 3369
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3370
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3371 3372
                        
Shishutong authored
3373
                            <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}
Shishutong authored
3374 3375 3376
预期结果: {'msg': '课程不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '课程不能为空', 'code': 500, 'data': None}
test_add_plan_04 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3377 3378 3379 3380 3381
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3382 3383 3384
            
                <tr>
                    <td>95</td>
Shishutong authored
3385 3386 3387
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_05</td>
                    <td>课程不存在</td>
Shishutong authored
3388
                    <td>0.412s</td>
Shishutong authored
3389
                    
Shishutong authored
3390
                        <td class="text-success">成功</td>
Shishutong authored
3391 3392
                    
                    <td>
Shishutong authored
3393
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3394 3395 3396 3397 3398
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3399
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3400 3401
                        
Shishutong authored
3402
                            <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}
Shishutong authored
3403 3404 3405
预期结果: {'msg': '课程不存在', 'code': 500, 'data': None}
实际结果: {'msg': '课程不存在', 'code': 500, 'data': None}
test_add_plan_05 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3406 3407 3408 3409 3410
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3411 3412 3413
            
                <tr>
                    <td>96</td>
Shishutong authored
3414 3415 3416
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_06</td>
                    <td>班级不能为空</td>
Shishutong authored
3417
                    <td>0.32s</td>
Shishutong authored
3418
                    
Shishutong authored
3419
                        <td class="text-success">成功</td>
Shishutong authored
3420 3421
                    
                    <td>
Shishutong authored
3422
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3423 3424 3425 3426 3427
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3428
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3429 3430
                        
Shishutong authored
3431
                            <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}
Shishutong authored
3432 3433 3434
预期结果: {'msg': '班级不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '班级不匹配', 'code': 500, 'data': None}
test_add_plan_06 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3435 3436 3437 3438 3439
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3440 3441 3442
            
                <tr>
                    <td>97</td>
Shishutong authored
3443 3444 3445
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_07</td>
                    <td>班级不存在</td>
Shishutong authored
3446
                    <td>0.339s</td>
Shishutong authored
3447
                    
Shishutong authored
3448
                        <td class="text-success">成功</td>
Shishutong authored
3449 3450
                    
                    <td>
Shishutong authored
3451
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3452 3453 3454 3455 3456
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3457
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3458 3459
                        
Shishutong authored
3460
                            <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}
Shishutong authored
3461 3462 3463
预期结果: {'msg': '班级不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '班级不匹配', 'code': 500, 'data': None}
test_add_plan_07 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3464 3465 3466 3467 3468
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3469 3470 3471
            
                <tr>
                    <td>98</td>
Shishutong authored
3472 3473 3474
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_08</td>
                    <td>计划开始时间不能为空</td>
Shishutong authored
3475
                    <td>0.29s</td>
Shishutong authored
3476
                    
Shishutong authored
3477
                        <td class="text-success">成功</td>
Shishutong authored
3478 3479
                    
                    <td>
Shishutong authored
3480
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3481 3482 3483 3484 3485
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3486
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3487 3488
                        
Shishutong authored
3489
                            <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}
Shishutong authored
3490 3491 3492
预期结果: {'msg': '开始时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '开始时间不能为空', 'code': 500, 'data': None}
test_add_plan_08 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3493 3494 3495 3496 3497
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3498 3499 3500
            
                <tr>
                    <td>99</td>
Shishutong authored
3501 3502 3503
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_09</td>
                    <td>计划结束时间不能为空</td>
Shishutong authored
3504
                    <td>0.306s</td>
Shishutong authored
3505
                    
Shishutong authored
3506
                        <td class="text-success">成功</td>
Shishutong authored
3507 3508
                    
                    <td>
Shishutong authored
3509
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3510 3511 3512 3513 3514
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3515
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3516 3517
                        
Shishutong authored
3518
                            <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}
Shishutong authored
3519 3520 3521
预期结果: {'msg': '结束时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '结束时间不能为空', 'code': 500, 'data': None}
test_add_plan_09 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3522 3523 3524 3525 3526
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3527 3528 3529
            
                <tr>
                    <td>100</td>
Shishutong authored
3530 3531 3532
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_10</td>
                    <td>负责老师为空,添加成功</td>
Shishutong authored
3533
                    <td>0.33s</td>
Shishutong authored
3534
                    
Shishutong authored
3535
                        <td class="text-success">成功</td>
Shishutong authored
3536 3537
                    
                    <td>
Shishutong authored
3538
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3539 3540 3541 3542 3543
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3544
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3545 3546
                        
Shishutong authored
3547
                            <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}
Shishutong authored
3548 3549
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
3550
test_add_plan_10 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3551 3552 3553 3554 3555
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3556 3557 3558
            
                <tr>
                    <td>101</td>
Shishutong authored
3559 3560 3561
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_11</td>
                    <td>教师不存在,添加失败</td>
Shishutong authored
3562
                    <td>0.34s</td>
Shishutong authored
3563
                    
Shishutong authored
3564
                        <td class="text-success">成功</td>
Shishutong authored
3565 3566
                    
                    <td>
Shishutong authored
3567
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3568 3569 3570 3571 3572
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3573
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3574 3575
                        
Shishutong authored
3576
                            <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}
Shishutong authored
3577 3578 3579
预期结果: {'msg': '教师不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '教师不匹配', 'code': 500, 'data': None}
test_add_plan_11 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3580 3581 3582 3583 3584
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3585 3586 3587
            
                <tr>
                    <td>102</td>
Shishutong authored
3588 3589 3590
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_12</td>
                    <td>实习目的为空,添加成功</td>
Shishutong authored
3591
                    <td>0.339s</td>
Shishutong authored
3592
                    
Shishutong authored
3593
                        <td class="text-success">成功</td>
Shishutong authored
3594 3595
                    
                    <td>
Shishutong authored
3596
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3597 3598 3599 3600 3601
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3602
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3603 3604
                        
Shishutong authored
3605
                            <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}
Shishutong authored
3606 3607 3608
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_plan_12 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3609 3610 3611 3612 3613
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3614 3615 3616
            
                <tr>
                    <td>103</td>
Shishutong authored
3617 3618 3619
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_13</td>
                    <td>实习目的不能超过100位</td>
Shishutong authored
3620
                    <td>0.608s</td>
Shishutong authored
3621
                    
Shishutong authored
3622
                        <td class="text-success">成功</td>
Shishutong authored
3623 3624
                    
                    <td>
Shishutong authored
3625
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3626 3627 3628 3629 3630
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3631
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3632 3633
                        
Shishutong authored
3634
                            <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}
Shishutong authored
3635 3636 3637
预期结果: {'msg': '实习目的不能超过100', 'code': 500, 'data': None}
实际结果: {'msg': '实习目的不能超过100', 'code': 500, 'data': None}
test_add_plan_13 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3638 3639 3640 3641 3642
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3643 3644 3645
            
                <tr>
                    <td>104</td>
Shishutong authored
3646 3647 3648
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_14</td>
                    <td>其他(备注)未填写,添加成功</td>
Shishutong authored
3649
                    <td>0.351s</td>
Shishutong authored
3650
                    
Shishutong authored
3651
                        <td class="text-success">成功</td>
Shishutong authored
3652 3653
                    
                    <td>
Shishutong authored
3654
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3655 3656 3657 3658 3659
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3660
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3661 3662
                        
Shishutong authored
3663
                            <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}
Shishutong authored
3664 3665
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
3666
test_add_plan_14 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3667 3668 3669 3670 3671
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3672 3673 3674
            
                <tr>
                    <td>105</td>
Shishutong authored
3675 3676 3677
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_15</td>
                    <td>其他(备注)长度不能超过200位</td>
Shishutong authored
3678
                    <td>0.294s</td>
Shishutong authored
3679
                    
Shishutong authored
3680
                        <td class="text-success">成功</td>
Shishutong authored
3681 3682
                    
                    <td>
Shishutong authored
3683
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3684 3685 3686 3687 3688
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3689
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3690 3691
                        
Shishutong authored
3692
                            <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}
Shishutong authored
3693 3694 3695
预期结果: {'msg': '其他(备注)长度不能超过200位', 'code': 500, 'data': None}
实际结果: {'msg': '其他(备注)长度不能超过200位', 'code': 500, 'data': None}
test_add_plan_15 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3696 3697 3698 3699 3700
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3701 3702 3703
            
                <tr>
                    <td>106</td>
Shishutong authored
3704 3705 3706
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_16</td>
                    <td>实习形式不能为空</td>
Shishutong authored
3707
                    <td>0.303s</td>
Shishutong authored
3708
                    
Shishutong authored
3709
                        <td class="text-success">成功</td>
Shishutong authored
3710 3711
                    
                    <td>
Shishutong authored
3712
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3713 3714 3715 3716 3717
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3718
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3719 3720
                        
Shishutong authored
3721
                            <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}
Shishutong authored
3722 3723 3724
预期结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None}
test_add_plan_16 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3725 3726 3727 3728 3729
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3730 3731 3732
            
                <tr>
                    <td>107</td>
Shishutong authored
3733 3734 3735
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_17</td>
                    <td>实习形式为集中,添加成功--集中</td>
Shishutong authored
3736
                    <td>0.344s</td>
Shishutong authored
3737
                    
Shishutong authored
3738
                        <td class="text-success">成功</td>
Shishutong authored
3739 3740
                    
                    <td>
Shishutong authored
3741
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3742 3743 3744 3745 3746
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3747
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3748 3749
                        
Shishutong authored
3750
                            <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}
Shishutong authored
3751 3752 3753
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_plan_17 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3754 3755 3756 3757 3758
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3759 3760 3761
            
                <tr>
                    <td>108</td>
Shishutong authored
3762 3763 3764
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_18</td>
                    <td>实习形式为自主,添加成功--自主</td>
Shishutong authored
3765
                    <td>0.352s</td>
Shishutong authored
3766
                    
Shishutong authored
3767
                        <td class="text-success">成功</td>
Shishutong authored
3768 3769
                    
                    <td>
Shishutong authored
3770
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3771 3772 3773 3774 3775
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3776
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3777 3778
                        
Shishutong authored
3779
                            <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}
Shishutong authored
3780 3781 3782
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_plan_18 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3783 3784 3785 3786 3787
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3788 3789 3790
            
                <tr>
                    <td>109</td>
Shishutong authored
3791 3792 3793
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_19</td>
                    <td>实习报告提交开始时间不能为空</td>
Shishutong authored
3794
                    <td>0.308s</td>
Shishutong authored
3795
                    
Shishutong authored
3796
                        <td class="text-success">成功</td>
Shishutong authored
3797 3798
                    
                    <td>
Shishutong authored
3799
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3800 3801 3802 3803 3804
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3805
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3806 3807
                        
Shishutong authored
3808
                            <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}
Shishutong authored
3809 3810 3811
预期结果: {'msg': '报告提交开始日期不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '报告提交开始日期不能为空', 'code': 500, 'data': None}
test_add_plan_19 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3812 3813 3814 3815 3816
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3817 3818 3819
            
                <tr>
                    <td>110</td>
Shishutong authored
3820 3821 3822
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_20</td>
                    <td>实习报告提交结束时间不能为空</td>
Shishutong authored
3823
                    <td>0.304s</td>
Shishutong authored
3824
                    
Shishutong authored
3825
                        <td class="text-success">成功</td>
Shishutong authored
3826 3827
                    
                    <td>
Shishutong authored
3828
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3829 3830 3831 3832 3833
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3834
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3835 3836
                        
Shishutong authored
3837
                            <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}
Shishutong authored
3838 3839 3840
预期结果: {'msg': '报告提交结束日期不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '报告提交结束日期不能为空', 'code': 500, 'data': None}
test_add_plan_20 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3841 3842 3843 3844 3845
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3846 3847 3848
            
                <tr>
                    <td>111</td>
Shishutong authored
3849 3850 3851
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_21</td>
                    <td>报告模块路径为空,添加成功</td>
Shishutong authored
3852
                    <td>0.374s</td>
Shishutong authored
3853
                    
Shishutong authored
3854
                        <td class="text-success">成功</td>
Shishutong authored
3855 3856
                    
                    <td>
Shishutong authored
3857
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3858 3859 3860 3861 3862
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3863
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3864 3865
                        
Shishutong authored
3866
                            <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}
Shishutong authored
3867 3868 3869
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_plan_21 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3870 3871 3872 3873 3874
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3875 3876 3877
            
                <tr>
                    <td>112</td>
Shishutong authored
3878 3879 3880
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_22</td>
                    <td>实习内容为空,添加成功</td>
Shishutong authored
3881
                    <td>0.347s</td>
Shishutong authored
3882
                    
Shishutong authored
3883
                        <td class="text-success">成功</td>
Shishutong authored
3884 3885
                    
                    <td>
Shishutong authored
3886
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3887 3888 3889 3890 3891
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3892
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3893 3894
                        
Shishutong authored
3895
                            <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}
Shishutong authored
3896 3897 3898
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_plan_22 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3899 3900 3901 3902 3903
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3904 3905 3906
            
                <tr>
                    <td>113</td>
Shishutong authored
3907 3908 3909
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_23</td>
                    <td>实习内容长度不能大于500位</td>
Shishutong authored
3910
                    <td>0.296s</td>
Shishutong authored
3911
                    
Shishutong authored
3912
                        <td class="text-success">成功</td>
Shishutong authored
3913 3914
                    
                    <td>
Shishutong authored
3915
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3916 3917 3918 3919 3920
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3921
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3922 3923
                        
Shishutong authored
3924
                            <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}
Shishutong authored
3925 3926 3927
预期结果: {'msg': '实习内容长度不能超过500位', 'code': 500, 'data': None}
实际结果: {'msg': '实习内容长度不能超过500位', 'code': 500, 'data': None}
test_add_plan_23 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3928 3929 3930 3931 3932
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3933 3934 3935
            
                <tr>
                    <td>114</td>
Shishutong authored
3936 3937 3938
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_24</td>
                    <td>院系不能为空</td>
Shishutong authored
3939
                    <td>0.316s</td>
Shishutong authored
3940
                    
Shishutong authored
3941
                        <td class="text-success">成功</td>
Shishutong authored
3942 3943
                    
                    <td>
Shishutong authored
3944
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3945 3946 3947 3948 3949
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3950
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3951 3952
                        
Shishutong authored
3953
                            <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}
Shishutong authored
3954 3955 3956
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_plan_24 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3957 3958 3959 3960 3961
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3962 3963 3964
            
                <tr>
                    <td>115</td>
Shishutong authored
3965 3966 3967
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_25</td>
                    <td>院系填写错误</td>
Shishutong authored
3968
                    <td>0.323s</td>
Shishutong authored
3969
                    
Shishutong authored
3970
                        <td class="text-success">成功</td>
Shishutong authored
3971 3972
                    
                    <td>
Shishutong authored
3973
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
3974 3975 3976 3977 3978
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
3979
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
3980 3981
                        
Shishutong authored
3982
                            <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}
Shishutong authored
3983 3984 3985
预期结果: {'msg': '院系班级不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '院系班级不匹配', 'code': 500, 'data': None}
test_add_plan_25 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
3986 3987 3988 3989 3990
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
3991 3992 3993
            
                <tr>
                    <td>116</td>
Shishutong authored
3994 3995
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_26</td>
Shishutong authored
3996 3997
                    <td>专业填写为空,添加成功</td>
                    <td>0.339s</td>
Shishutong authored
3998
                    
Shishutong authored
3999
                        <td class="text-success">成功</td>
Shishutong authored
4000 4001
                    
                    <td>
Shishutong authored
4002
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4003 4004 4005 4006 4007
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4008
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4009 4010
                        
Shishutong authored
4011 4012 4013
                            <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}
Shishutong authored
4014
test_add_plan_26 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
4015 4016 4017 4018 4019
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4020 4021 4022
            
                <tr>
                    <td>117</td>
Shishutong authored
4023 4024 4025
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_27</td>
                    <td>专业填写错误</td>
Shishutong authored
4026
                    <td>0.318s</td>
Shishutong authored
4027
                    
Shishutong authored
4028
                        <td class="text-success">成功</td>
Shishutong authored
4029 4030
                    
                    <td>
Shishutong authored
4031
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4032 4033 4034 4035 4036
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4037
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4038 4039
                        
Shishutong authored
4040
                            <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}
Shishutong authored
4041 4042 4043
预期结果: {'msg': '专业班级不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '专业班级不匹配', 'code': 500, 'data': None}
test_add_plan_27 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
4044 4045 4046 4047 4048
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4049 4050 4051
            
                <tr>
                    <td>118</td>
Shishutong authored
4052 4053 4054
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_28</td>
                    <td>学期不能为空</td>
Shishutong authored
4055
                    <td>0.3s</td>
Shishutong authored
4056
                    
Shishutong authored
4057
                        <td class="text-success">成功</td>
Shishutong authored
4058 4059
                    
                    <td>
Shishutong authored
4060
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4061 4062 4063 4064 4065
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4066
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4067 4068
                        
Shishutong authored
4069
                            <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': ''}
Shishutong authored
4070 4071 4072
预期结果: {'msg': '学期不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期不能为空', 'code': 500, 'data': None}
test_add_plan_28 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
4073 4074 4075 4076 4077
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4078 4079 4080
            
                <tr>
                    <td>119</td>
Shishutong authored
4081 4082 4083
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_29</td>
                    <td>学期填写错误</td>
Shishutong authored
4084
                    <td>0.321s</td>
Shishutong authored
4085
                    
Shishutong authored
4086
                        <td class="text-success">成功</td>
Shishutong authored
4087 4088
                    
                    <td>
Shishutong authored
4089
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4090 4091 4092 4093 4094
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4095
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4096 4097
                        
Shishutong authored
4098
                            <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'}
Shishutong authored
4099 4100 4101
预期结果: {'msg': '学期填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '学期填写错误', 'code': 500, 'data': None}
test_add_plan_29 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
4102 4103 4104 4105 4106
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4107 4108 4109
            
                <tr>
                    <td>120</td>
Shishutong authored
4110 4111 4112
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_30</td>
                    <td>新增计划成功</td>
Shishutong authored
4113
                    <td>0.342s</td>
Shishutong authored
4114
                    
Shishutong authored
4115
                        <td class="text-success">成功</td>
Shishutong authored
4116 4117
                    
                    <td>
Shishutong authored
4118
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4119 4120 4121 4122 4123
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4124
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4125 4126
                        
Shishutong authored
4127
                            <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}
Shishutong authored
4128 4129 4130
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_plan_30 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
4131 4132 4133 4134 4135
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4136 4137 4138 4139 4140 4141 4142
            
                <tr>
                    <td>121</td>
                    <td class="Test01addInternshipPlan">Test01addInternshipPlan</td>
                    <td>test_add_plan_31</td>
                    <td>创建计划,方便使用的数据,自主</td>
                    <td>0.326s</td>
Shishutong authored
4143
                    
Shishutong authored
4144
                        <td class="text-success">成功</td>
Shishutong authored
4145 4146
                    
                    <td>
Shishutong authored
4147
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4148 4149 4150 4151 4152
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4153
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4154 4155
                        
Shishutong authored
4156
                            <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}
Shishutong authored
4157 4158
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4159
test_add_plan_31 (test_04_Internship_preparation.Test01addInternshipPlan)执行——>【通过】
Shishutong authored
4160 4161 4162 4163 4164
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4165 4166 4167 4168 4169 4170 4171
            
                <tr>
                    <td>122</td>
                    <td class="Test02publishInternshipPlan">Test02publishInternshipPlan</td>
                    <td>test_publish_plan_1</td>
                    <td>发布计划</td>
                    <td>1.09s</td>
Shishutong authored
4172
                    
Shishutong authored
4173
                        <td class="text-success">成功</td>
Shishutong authored
4174 4175
                    
                    <td>
Shishutong authored
4176
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4177 4178 4179 4180 4181
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4182
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4183 4184
                        
Shishutong authored
4185
                            <pre>用例入参:{'publishStatus': 'published', 'ids': [1672845913925898241]}
Shishutong authored
4186 4187
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4188
test_publish_plan_1 (test_04_Internship_preparation.Test02publishInternshipPlan)执行——>【通过】
Shishutong authored
4189 4190 4191 4192 4193
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226
            
                <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>
Shishutong authored
4227 4228
                    <td>test_add_project_02</td>
                    <td>新增项目成功--自主-(需要报名审核-不允许自行填报企业信息)</td>
Shishutong authored
4229
                    <td>0.383s</td>
Shishutong authored
4230
                    
Shishutong authored
4231
                        <td class="text-success">成功</td>
Shishutong authored
4232 4233
                    
                    <td>
Shishutong authored
4234
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4235 4236 4237 4238 4239
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4240
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4241 4242
                        
Shishutong authored
4243
                            <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'}]}
Shishutong authored
4244 4245
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4246
test_add_project_02 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4247 4248 4249 4250 4251
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4252 4253
            
                <tr>
Shishutong authored
4254
                    <td>125</td>
Shishutong authored
4255
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4256 4257
                    <td>test_add_project_03</td>
                    <td>新增项目成功--自主-(不需要报名审核-允许自行填报企业信息)</td>
Shishutong authored
4258
                    <td>0.43s</td>
Shishutong authored
4259
                    
Shishutong authored
4260
                        <td class="text-success">成功</td>
Shishutong authored
4261 4262
                    
                    <td>
Shishutong authored
4263
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4264 4265 4266 4267 4268
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4269
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4270 4271
                        
Shishutong authored
4272
                            <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'}]}
Shishutong authored
4273 4274
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4275
test_add_project_03 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4276 4277 4278 4279 4280
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4281 4282
            
                <tr>
Shishutong authored
4283
                    <td>126</td>
Shishutong authored
4284
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4285 4286
                    <td>test_add_project_04</td>
                    <td>新增项目成功--自主-(不需要报名审核-不允许自行填报企业信息)</td>
Shishutong authored
4287
                    <td>0.402s</td>
Shishutong authored
4288
                    
Shishutong authored
4289
                        <td class="text-success">成功</td>
Shishutong authored
4290 4291
                    
                    <td>
Shishutong authored
4292
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4293 4294 4295 4296 4297
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4298
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4299 4300
                        
Shishutong authored
4301
                            <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'}]}
Shishutong authored
4302 4303
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4304
test_add_project_04 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4305 4306 4307 4308 4309
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4310 4311
            
                <tr>
Shishutong authored
4312
                    <td>127</td>
Shishutong authored
4313
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4314 4315
                    <td>test_add_project_05</td>
                    <td>项目名称不能为空</td>
Shishutong authored
4316
                    <td>0.301s</td>
Shishutong authored
4317
                    
Shishutong authored
4318
                        <td class="text-success">成功</td>
Shishutong authored
4319 4320
                    
                    <td>
Shishutong authored
4321
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4322 4323 4324 4325 4326
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4327
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4328 4329
                        
Shishutong authored
4330
                            <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'}]}
Shishutong authored
4331 4332
预期结果: {'msg': '项目名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称不能为空', 'code': 500, 'data': None}
Shishutong authored
4333
test_add_project_05 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4334 4335 4336 4337 4338
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4339 4340
            
                <tr>
Shishutong authored
4341
                    <td>128</td>
Shishutong authored
4342
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4343 4344
                    <td>test_add_project_06</td>
                    <td>项目名称不能大于30位</td>
Shishutong authored
4345
                    <td>0.312s</td>
Shishutong authored
4346
                    
Shishutong authored
4347
                        <td class="text-success">成功</td>
Shishutong authored
4348 4349
                    
                    <td>
Shishutong authored
4350
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4351 4352 4353 4354 4355
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4356
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4357 4358
                        
Shishutong authored
4359
                            <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']}
Shishutong authored
4360 4361
预期结果: {'msg': '名称不能超过30', 'code': 500, 'data': None}
实际结果: {'msg': '名称不能超过30', 'code': 500, 'data': None}
Shishutong authored
4362
test_add_project_06 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4363 4364 4365 4366 4367
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4368 4369
            
                <tr>
Shishutong authored
4370
                    <td>129</td>
Shishutong authored
4371
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4372 4373
                    <td>test_add_project_07</td>
                    <td>实习计划不能为空</td>
Shishutong authored
4374
                    <td>0.306s</td>
Shishutong authored
4375
                    
Shishutong authored
4376
                        <td class="text-success">成功</td>
Shishutong authored
4377 4378
                    
                    <td>
Shishutong authored
4379
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4380 4381 4382 4383 4384
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4385
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4386 4387
                        
Shishutong authored
4388
                            <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'}]}
Shishutong authored
4389 4390
预期结果: {'msg': '计划不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '计划不能为空', 'code': 500, 'data': None}
Shishutong authored
4391
test_add_project_07 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4392 4393 4394 4395 4396
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4397 4398
            
                <tr>
Shishutong authored
4399
                    <td>130</td>
Shishutong authored
4400
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4401 4402
                    <td>test_add_project_08</td>
                    <td>实习计划不匹配</td>
Shishutong authored
4403
                    <td>0.306s</td>
Shishutong authored
4404
                    
Shishutong authored
4405
                        <td class="text-success">成功</td>
Shishutong authored
4406 4407
                    
                    <td>
Shishutong authored
4408
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4409 4410 4411 4412 4413
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4414
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4415
                        
Shishutong authored
4416
Shishutong authored
4417
                            <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'}]}
Shishutong authored
4418 4419
预期结果: {'msg': '计划信息不存在', 'code': 500, 'data': None}
实际结果: {'msg': '计划信息不存在', 'code': 500, 'data': None}
Shishutong authored
4420
test_add_project_08 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4421 4422 4423 4424 4425
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4426 4427
            
                <tr>
Shishutong authored
4428
                    <td>131</td>
Shishutong authored
4429
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4430 4431
                    <td>test_add_project_09</td>
                    <td>实习形式不能为空</td>
Shishutong authored
4432
                    <td>0.296s</td>
Shishutong authored
4433
                    
Shishutong authored
4434
                        <td class="text-success">成功</td>
Shishutong authored
4435 4436
                    
                    <td>
Shishutong authored
4437
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4438 4439 4440 4441 4442
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4443
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4444 4445
                        
Shishutong authored
4446
                            <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'}]}
Shishutong authored
4447 4448
预期结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '实习形式不能为空', 'code': 500, 'data': None}
Shishutong authored
4449
test_add_project_09 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4450 4451 4452 4453 4454
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4455 4456
            
                <tr>
Shishutong authored
4457
                    <td>132</td>
Shishutong authored
4458
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4459 4460
                    <td>test_add_project_10</td>
                    <td>实习形式填写错误</td>
Shishutong authored
4461
                    <td>0.3s</td>
Shishutong authored
4462
                    
Shishutong authored
4463
                        <td class="text-success">成功</td>
Shishutong authored
4464 4465
                    
                    <td>
Shishutong authored
4466
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4467 4468 4469 4470 4471
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4472
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4473 4474
                        
Shishutong authored
4475
                            <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'}]}
Shishutong authored
4476 4477
预期结果: {'msg': '实习形式填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '实习形式填写错误', 'code': 500, 'data': None}
Shishutong authored
4478
test_add_project_10 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4479 4480 4481 4482 4483
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4484 4485
            
                <tr>
Shishutong authored
4486
                    <td>133</td>
Shishutong authored
4487
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4488 4489
                    <td>test_add_project_11</td>
                    <td>实习要求不填写,添加成功</td>
Shishutong authored
4490
                    <td>0.385s</td>
Shishutong authored
4491
                    
Shishutong authored
4492
                        <td class="text-success">成功</td>
Shishutong authored
4493 4494
                    
                    <td>
Shishutong authored
4495
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4496 4497 4498 4499 4500
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4501
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4502 4503
                        
Shishutong authored
4504
                            <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'}]}
Shishutong authored
4505 4506
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4507
test_add_project_11 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4508 4509 4510 4511 4512
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4513 4514
            
                <tr>
Shishutong authored
4515
                    <td>134</td>
Shishutong authored
4516
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4517 4518
                    <td>test_add_project_12</td>
                    <td>实习要求不能大于500</td>
Shishutong authored
4519
                    <td>0.297s</td>
Shishutong authored
4520
                    
Shishutong authored
4521
                        <td class="text-success">成功</td>
Shishutong authored
4522 4523
                    
                    <td>
Shishutong authored
4524
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4525 4526 4527 4528 4529
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4530
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4531 4532
                        
Shishutong authored
4533
                            <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'}]}
Shishutong authored
4534 4535
预期结果: {'msg': '实习要求不能超过500', 'code': 500, 'data': None}
实际结果: {'msg': '实习要求不能超过500', 'code': 500, 'data': None}
Shishutong authored
4536
test_add_project_12 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4537 4538 4539 4540 4541
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4542 4543
            
                <tr>
Shishutong authored
4544
                    <td>135</td>
Shishutong authored
4545
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4546 4547
                    <td>test_add_project_13</td>
                    <td>实习开始时间不能为空</td>
Shishutong authored
4548
                    <td>0.312s</td>
Shishutong authored
4549
                    
Shishutong authored
4550
                        <td class="text-success">成功</td>
Shishutong authored
4551 4552
                    
                    <td>
Shishutong authored
4553
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4554 4555 4556 4557 4558
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4559
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4560 4561
                        
Shishutong authored
4562
                            <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'}]}
Shishutong authored
4563 4564
预期结果: {'msg': '实习开始时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '实习开始时间不能为空', 'code': 500, 'data': None}
Shishutong authored
4565
test_add_project_13 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4566 4567 4568 4569 4570
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4571 4572
            
                <tr>
Shishutong authored
4573
                    <td>136</td>
Shishutong authored
4574
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4575 4576
                    <td>test_add_project_14</td>
                    <td>实习结束时间不能为空</td>
Shishutong authored
4577
                    <td>0.311s</td>
Shishutong authored
4578
                    
Shishutong authored
4579
                        <td class="text-success">成功</td>
Shishutong authored
4580 4581
                    
                    <td>
Shishutong authored
4582
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4583 4584 4585 4586 4587
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4588
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4589 4590
                        
Shishutong authored
4591
                            <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'}]}
Shishutong authored
4592 4593
预期结果: {'msg': '实习结束时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '实习结束时间不能为空', 'code': 500, 'data': None}
Shishutong authored
4594
test_add_project_14 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4595 4596 4597 4598 4599
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4600 4601
            
                <tr>
Shishutong authored
4602
                    <td>137</td>
Shishutong authored
4603
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4604 4605
                    <td>test_add_project_15</td>
                    <td>项目开始日期需早于项目结束日期</td>
Shishutong authored
4606
                    <td>0.303s</td>
Shishutong authored
4607
                    
Shishutong authored
4608
                        <td class="text-success">成功</td>
Shishutong authored
4609 4610
                    
                    <td>
Shishutong authored
4611
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4612 4613 4614 4615 4616
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4617
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4618 4619
                        
Shishutong authored
4620
                            <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'}]}
Shishutong authored
4621 4622
预期结果: {'msg': '项目开始日期需早于项目结束日期', 'code': 500, 'data': None}
实际结果: {'msg': '项目开始日期需早于项目结束日期', 'code': 500, 'data': None}
Shishutong authored
4623
test_add_project_15 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
4624 4625 4626 4627 4628
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4629 4630
            
                <tr>
Shishutong authored
4631
                    <td>138</td>
Shishutong authored
4632
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4633 4634
                    <td>test_add_project_16</td>
                    <td>报名审核填写错误(后期在做修改,目前不做改动-0104)</td>
Shishutong authored
4635
                    <td>1.71s</td>
Shishutong authored
4636
                    
Shishutong authored
4637
                        <td class="text-warning">失败</td>
Shishutong authored
4638 4639
                    
                    <td>
Shishutong authored
4640
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4641 4642 4643 4644 4645
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4646
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4647 4648
                        
Shishutong authored
4649
                            <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'}]}
Shishutong authored
4650 4651
预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4652
test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4653 4654 4655 4656 4657 4658 4659
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)
Shishutong authored
4660
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4661
    raise e
Shishutong authored
4662
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673
    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
Shishutong authored
4674 4675
================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'}]}
Shishutong authored
4676 4677
预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4678
test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4679 4680 4681 4682 4683 4684 4685
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)
Shishutong authored
4686
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4687
    raise e
Shishutong authored
4688
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699
    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: '报名审核填写错误' != '项目名称已存在'
- 报名审核填写错误
+ 项目名称已存在
Shishutong authored
4700 4701
================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'}]}
Shishutong authored
4702 4703
预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4704
test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4705 4706 4707 4708 4709 4710 4711
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)
Shishutong authored
4712
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4713
    raise e
Shishutong authored
4714
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725
    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: '报名审核填写错误' != '项目名称已存在'
- 报名审核填写错误
+ 项目名称已存在
Shishutong authored
4726 4727
================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'}]}
Shishutong authored
4728 4729
预期结果: {'msg': '报名审核填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4730
test_add_project_16 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】
Shishutong authored
4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752
</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>
                        
Shishutong authored
4753
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4754 4755 4756 4757
    raise e
</pre>
                        
Shishutong authored
4758
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777
    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>
                        
Shishutong authored
4778
                            <pre>AssertionError: '报名审核填写错误' != '项目名称已存在'
Shishutong authored
4779
- 报名审核填写错误
Shishutong authored
4780
+ 项目名称已存在
Shishutong authored
4781
Shishutong authored
4782 4783 4784 4785 4786
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4787 4788
            
                <tr>
Shishutong authored
4789
                    <td>139</td>
Shishutong authored
4790
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4791 4792
                    <td>test_add_project_17</td>
                    <td>报名审核不能为空(后期在做修改,目前不做改动-0104)</td>
Shishutong authored
4793
                    <td>1.73s</td>
Shishutong authored
4794
                    
Shishutong authored
4795
                        <td class="text-warning">失败</td>
Shishutong authored
4796 4797
                    
                    <td>
Shishutong authored
4798
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4799 4800 4801 4802 4803
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4804
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4805 4806
                        
Shishutong authored
4807
                            <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'}]}
Shishutong authored
4808
预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None}
Shishutong authored
4809
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4810
test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4811 4812 4813 4814 4815 4816 4817
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)
Shishutong authored
4818
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4819
    raise e
Shishutong authored
4820
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831
    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
Shishutong authored
4832 4833
================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'}]}
Shishutong authored
4834 4835
预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4836
test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4837 4838 4839 4840 4841 4842 4843
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)
Shishutong authored
4844
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4845
    raise e
Shishutong authored
4846
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857
    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: '报名审核不能为空' != '项目名称已存在'
- 报名审核不能为空
+ 项目名称已存在
Shishutong authored
4858 4859
================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'}]}
Shishutong authored
4860 4861
预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4862
test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4863 4864 4865 4866 4867 4868 4869
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)
Shishutong authored
4870
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4871
    raise e
Shishutong authored
4872
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883
    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: '报名审核不能为空' != '项目名称已存在'
- 报名审核不能为空
+ 项目名称已存在
Shishutong authored
4884 4885
================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'}]}
Shishutong authored
4886 4887
预期结果: {'msg': '报名审核不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4888
test_add_project_17 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】
Shishutong authored
4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910
</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>
                        
Shishutong authored
4911
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4912 4913 4914 4915
    raise e
</pre>
                        
Shishutong authored
4916
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935
    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>
                        
Shishutong authored
4936
                            <pre>AssertionError: '报名审核不能为空' != '项目名称已存在'
Shishutong authored
4937
- 报名审核不能为空
Shishutong authored
4938
+ 项目名称已存在
Shishutong authored
4939
Shishutong authored
4940 4941 4942 4943 4944
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
4945 4946
            
                <tr>
Shishutong authored
4947
                    <td>140</td>
Shishutong authored
4948
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
4949 4950
                    <td>test_add_project_18</td>
                    <td>自行填报企业信息填写错误(后期在做修改,目前不做改动-0104)</td>
Shishutong authored
4951
                    <td>1.74s</td>
Shishutong authored
4952
                    
Shishutong authored
4953
                        <td class="text-warning">失败</td>
Shishutong authored
4954 4955
                    
                    <td>
Shishutong authored
4956
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
4957 4958 4959 4960 4961
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
4962
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
4963 4964
                        
Shishutong authored
4965
                            <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'}]}
Shishutong authored
4966 4967
预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
4968
test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4969 4970 4971 4972 4973 4974 4975
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)
Shishutong authored
4976
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
4977
    raise e
Shishutong authored
4978
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989
    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
Shishutong authored
4990 4991
================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'}]}
Shishutong authored
4992 4993
预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
4994
test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
4995 4996 4997 4998 4999 5000 5001
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)
Shishutong authored
5002
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5003
    raise e
Shishutong authored
5004
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015
    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: '实习计划不匹配' != '项目名称已存在'
- 实习计划不匹配
+ 项目名称已存在
Shishutong authored
5016 5017
================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'}]}
Shishutong authored
5018 5019
预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
5020
test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
5021 5022 5023 5024 5025 5026 5027
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)
Shishutong authored
5028
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5029
    raise e
Shishutong authored
5030
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041
    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: '实习计划不匹配' != '项目名称已存在'
- 实习计划不匹配
+ 项目名称已存在
Shishutong authored
5042 5043
================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'}]}
Shishutong authored
5044 5045
预期结果: {'msg': '实习计划不匹配', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
5046
test_add_project_18 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】
Shishutong authored
5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068
</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>
                        
Shishutong authored
5069
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5070 5071 5072 5073
    raise e
</pre>
                        
Shishutong authored
5074
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093
    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>
                        
Shishutong authored
5094
                            <pre>AssertionError: '实习计划不匹配' != '项目名称已存在'
Shishutong authored
5095
- 实习计划不匹配
Shishutong authored
5096
+ 项目名称已存在
Shishutong authored
5097
Shishutong authored
5098 5099 5100 5101 5102
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5103 5104
            
                <tr>
Shishutong authored
5105
                    <td>141</td>
Shishutong authored
5106
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5107 5108
                    <td>test_add_project_19</td>
                    <td>自行填报企业信息不能为空(后期在做修改,目前不做改动-0104)</td>
Shishutong authored
5109
                    <td>1.73s</td>
Shishutong authored
5110
                    
Shishutong authored
5111
                        <td class="text-warning">失败</td>
Shishutong authored
5112 5113
                    
                    <td>
Shishutong authored
5114
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5115 5116 5117 5118 5119
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5120
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5121 5122
                        
Shishutong authored
5123
                            <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'}]}
Shishutong authored
5124 5125
预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
5126
test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
5127 5128 5129 5130 5131 5132 5133
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)
Shishutong authored
5134
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5135
    raise e
Shishutong authored
5136
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147
    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
Shishutong authored
5148 5149
================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'}]}
Shishutong authored
5150 5151
预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
5152
test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
5153 5154 5155 5156 5157 5158 5159
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)
Shishutong authored
5160
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5161
    raise e
Shishutong authored
5162
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173
    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: '自行填报企业信息不能为空' != '项目名称已存在'
- 自行填报企业信息不能为空
+ 项目名称已存在
Shishutong authored
5174 5175
================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'}]}
Shishutong authored
5176 5177
预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
5178
test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败Failure】
Shishutong authored
5179 5180 5181 5182 5183 5184 5185
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)
Shishutong authored
5186
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5187
    raise e
Shishutong authored
5188
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199
    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: '自行填报企业信息不能为空' != '项目名称已存在'
- 自行填报企业信息不能为空
+ 项目名称已存在
Shishutong authored
5200 5201
================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'}]}
Shishutong authored
5202 5203
预期结果: {'msg': '自行填报企业信息不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '项目名称已存在', 'code': 500, 'data': None}
Shishutong authored
5204
test_add_project_19 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【失败】
Shishutong authored
5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226
</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>
                        
Shishutong authored
5227
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 294, in test_add_project
Shishutong authored
5228 5229 5230 5231
    raise e
</pre>
                        
Shishutong authored
5232
                            <pre>  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_04_Internship_preparation.py", line 287, in test_add_project
Shishutong authored
5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251
    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>
                        
Shishutong authored
5252
                            <pre>AssertionError: '自行填报企业信息不能为空' != '项目名称已存在'
Shishutong authored
5253
- 自行填报企业信息不能为空
Shishutong authored
5254
+ 项目名称已存在
Shishutong authored
5255
Shishutong authored
5256 5257 5258 5259 5260
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5261 5262
            
                <tr>
Shishutong authored
5263
                    <td>142</td>
Shishutong authored
5264
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5265 5266
                    <td>test_add_project_20</td>
                    <td>参与学生不能为空</td>
Shishutong authored
5267
                    <td>0.321s</td>
Shishutong authored
5268
                    
Shishutong authored
5269
                        <td class="text-success">成功</td>
Shishutong authored
5270 5271
                    
                    <td>
Shishutong authored
5272
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5273 5274 5275 5276 5277
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5278
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5279 5280
                        
Shishutong authored
5281
                            <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'}]}
Shishutong authored
5282 5283
预期结果: {'msg': '参与学生不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '参与学生不能为空', 'code': 500, 'data': None}
Shishutong authored
5284
test_add_project_20 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
5285 5286 5287 5288 5289
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5290 5291
            
                <tr>
Shishutong authored
5292
                    <td>143</td>
Shishutong authored
5293
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5294 5295
                    <td>test_add_project_21</td>
                    <td>参与学生填写错误</td>
Shishutong authored
5296
                    <td>0.353s</td>
Shishutong authored
5297
                    
Shishutong authored
5298
                        <td class="text-success">成功</td>
Shishutong authored
5299 5300
                    
                    <td>
Shishutong authored
5301
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5302 5303 5304 5305 5306
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5307
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5308 5309
                        
Shishutong authored
5310
                            <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'}]}
Shishutong authored
5311 5312
预期结果: {'msg': '学生信息不正确', 'code': 500, 'data': None}
实际结果: {'msg': '学生信息不正确', 'code': 500, 'data': None}
Shishutong authored
5313
test_add_project_21 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
5314 5315 5316 5317 5318
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5319 5320
            
                <tr>
Shishutong authored
5321
                    <td>144</td>
Shishutong authored
5322
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5323 5324
                    <td>test_add_project_22</td>
                    <td>关联指定老师不填写,添加成功</td>
Shishutong authored
5325
                    <td>0.355s</td>
Shishutong authored
5326
                    
Shishutong authored
5327
                        <td class="text-success">成功</td>
Shishutong authored
5328 5329
                    
                    <td>
Shishutong authored
5330
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5331 5332 5333 5334 5335
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5336
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5337 5338
                        
Shishutong authored
5339
                            <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'}]}
Shishutong authored
5340 5341
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
5342
test_add_project_22 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
5343 5344 5345 5346 5347
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5348 5349
            
                <tr>
Shishutong authored
5350
                    <td>145</td>
Shishutong authored
5351
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5352 5353
                    <td>test_add_project_23</td>
                    <td>关联指定老师填写错误</td>
Shishutong authored
5354
                    <td>0.323s</td>
Shishutong authored
5355
                    
Shishutong authored
5356
                        <td class="text-success">成功</td>
Shishutong authored
5357 5358
                    
                    <td>
Shishutong authored
5359
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5360 5361 5362 5363 5364
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5365
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5366 5367
                        
Shishutong authored
5368
                            <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'}]}
Shishutong authored
5369 5370
预期结果: {'msg': '关联指定老师填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '关联指定老师填写错误', 'code': 500, 'data': None}
Shishutong authored
5371
test_add_project_23 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
5372 5373 5374 5375 5376
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5377 5378
            
                <tr>
Shishutong authored
5379
                    <td>146</td>
Shishutong authored
5380
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5381 5382
                    <td>test_add_project_24</td>
                    <td>推荐岗位不能为空</td>
Shishutong authored
5383
                    <td>0.37s</td>
Shishutong authored
5384
                    
Shishutong authored
5385
                        <td class="text-success">成功</td>
Shishutong authored
5386 5387
                    
                    <td>
Shishutong authored
5388
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5389 5390 5391 5392 5393
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5394
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5395 5396
                        
Shishutong authored
5397 5398 5399 5400
                            <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)执行——>【通过】
Shishutong authored
5401 5402 5403 5404 5405
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5406 5407
            
                <tr>
Shishutong authored
5408
                    <td>147</td>
Shishutong authored
5409
                    <td class="Test03addInternshipProject">Test03addInternshipProject</td>
Shishutong authored
5410 5411
                    <td>test_add_project_25</td>
                    <td>推荐岗位填写错误</td>
Shishutong authored
5412
                    <td>0.377s</td>
Shishutong authored
5413
                    
Shishutong authored
5414
                        <td class="text-success">成功</td>
Shishutong authored
5415 5416
                    
                    <td>
Shishutong authored
5417
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
5418 5419 5420 5421 5422
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
5423
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
5424 5425
                        
Shishutong authored
5426
                            <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'}]}
Shishutong authored
5427 5428
预期结果: {'msg': '推荐岗位填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '推荐岗位填写错误', 'code': 500, 'data': None}
Shishutong authored
5429
test_add_project_25 (test_04_Internship_preparation.Test03addInternshipProject)执行——>【通过】
Shishutong authored
5430 5431 5432 5433 5434
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448
            
                <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>
Shishutong authored
5449
Shishutong authored
5450
                <tr class="test_log">
Shishutong authored
5451
Shishutong authored
5452 5453
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        
Shishutong authored
5454
Shishutong authored
5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477
                            <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>
Shishutong authored
5478
Shishutong authored
5479
                <tr class="test_log">
Shishutong authored
5480
Shishutong authored
5481 5482
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        
Shishutong authored
5483
Shishutong authored
5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506
                            <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>
Shishutong authored
5507
Shishutong authored
5508
                <tr class="test_log">
Shishutong authored
5509
Shishutong authored
5510 5511
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        
Shishutong authored
5512
Shishutong authored
5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535
                            <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>
Shishutong authored
5536
Shishutong authored
5537
                <tr class="test_log">
Shishutong authored
5538
Shishutong authored
5539 5540
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        
Shishutong authored
5541
Shishutong authored
5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564
                            <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>
Shishutong authored
5565
Shishutong authored
5566
                <tr class="test_log">
Shishutong authored
5567
Shishutong authored
5568 5569
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        
Shishutong authored
5570
Shishutong authored
5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593
                            <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>
Shishutong authored
5594
Shishutong authored
5595
                <tr class="test_log">
Shishutong authored
5596
Shishutong authored
5597 5598
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
                        
Shishutong authored
5599
Shishutong authored
5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622
                            <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>
Shishutong authored
5623
Shishutong authored
5624
                <tr class="test_log">
Shishutong authored
5625
Shishutong authored
5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760
                    <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()
    });
Shishutong authored
7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774

    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()
Shishutong authored
7775 7776 7777 7778
            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-danger').show()
Shishutong authored
7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792
            } 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()
Shishutong authored
7793 7794 7795
            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-danger').show()
Shishutong authored
7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817
            } 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>
Shishutong authored
7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896
<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>
Shishutong authored
7897 7898 7899

</body>
</html>