审查视图

report/report.html 120.6 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
        }
Shishutong authored
49
Shishutong authored
50 51 52
        .list-group-item span {
            font: normal 16px/38px "Microsoft YaHei UI";
            padding: 30px;
Shishutong authored
53
Shishutong authored
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">2022-12-28 17:10:55</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-success">执行时间</button>
                <span class="text-dark">39.60 S</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-success">用例总数</button>
                <span class="text-dark">77</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">77</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-warning">失败用例</button>
                <span class="text-warning">0</span>
            </li>
            <li class="list-group-item">
                <button type="button" class="btn btn-danger">错误用例</button>
                <span class="text-danger">0</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
        <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>
                        
Shishutong authored
228
                            <option>TestLogin</option>
Shishutong authored
229 230 231 232 233
                        
                            <option>Test02Specialty</option>
                        
                            <option>Test02Class</option>
                        
Shishutong authored
234
                            <option>Test03Year</option>
Shishutong authored
235
                        
Shishutong authored
236
                            <option>Test04Student</option>
Shishutong authored
237
                        
Shishutong authored
238
                            <option>Test01Department</option>
Shishutong authored
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
                        
                            <option>Test01CTeacher</option>
                        
                            <option>Test03Course</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
269 270 271 272
                    <td>1</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_1</td>
                    <td>登陆成功</td>
Shishutong authored
273
                    <td>0.532s</td>
Shishutong authored
274
                    
Shishutong authored
275
                        <td class="text-success">成功</td>
Shishutong authored
276 277
                    
                    <td>
Shishutong authored
278
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
279 280 281 282 283
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
284
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
285 286 287 288
                        

                            <pre>用例入参:{'way': 'name', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher', 'username': '17301249975'}
预期结果:{'msg': 'success', 'code': 200}
Shishutong authored
289
实际结果:{'msg': 'success', 'code': 200, 'data': {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRUeXBlIjoiIiwiYnJva2VySWQiOiIiLCJocm9Vc2VyVG9rZW4iOm51bGwsInVzZXJfbmFtZSI6IjE3MzAxMjQ5OTc1IiwiYXV0aFN0YXR1cyI6IiIsImF1dGhlbnRpY2F0aW9uSWRlbnRpdHkiOiJsb2dpbiIsInR5cGUiOiJ0ZWFjaGVyIiwidXNlcklkIjoiMTUxOTk1OTIwODUyOTg2Njc1MyIsImNsaWVudF9pZCI6IndvcmthaSIsInN0dWRlbnRJZCI6IiIsInRlYWNoZXJJZCI6IjE1MTk5NTkyMDkyNzY0NTI4NjUiLCJ0ZW5hbnROYW1lIjoiIiwicGhvbmUiOiIxNzMwMTI0OTk3NSIsInNjb3BlIjpbImFsbCJdLCJzY2hvb2xJZCI6IjE1MTk5NTg1NjYxMzAyNTc5MjIiLCJ0ZW5hbnRJZCI6IiIsIm5hbWUiOiLmoKHplb8iLCJzdHVkZW50U3RhdHVzIjoiIiwiZXhwIjoxNjcyMjU0NjU1LCJzY2hvb2xOYW1lIjoi5rWL6K-V5aSn5a2mIiwianRpIjoiOGI0YzVjMTMtOTVjMS00ZGUyLTg2NTctMjVhNTkwMjA3YTU0Iiwic3RhdHVzIjoiYWN0aXZlIn0.f4XGbn0d8gK3URS83mSnep3hLT8PeBaPF73cEGejqQIqv45mWrRKywPCuTkY-supAcYYdTjU4Bf0TGFbtJdZX__F8KP5lSqmcqFlFyVLjWgsJ1oFHrH8zF1hD-y8g6N9Llaaaq-HyDYSPjetm4c2fPhIBepuAayBjFW41mfuSgXstH4g-Hu58iP9z2EVuLxB0IB5Gl3TGKHmMcvwEJKXlV04s3WFh3kOMxGAFBHc8CpbDfV-U60ecZVc3bIA3URE1NUP7xV1zPW1CwGiw_Ol0-v3ue8KhZfTKDvxCPsHzOuYAOGqWtUfbjdUVlJjDDgnpjBYsmdZkPIQDDKAZbhbFA', 'token_type': 'bearer', 'refresh_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRUeXBlIjoiIiwiYnJva2VySWQiOiIiLCJocm9Vc2VyVG9rZW4iOm51bGwsInVzZXJfbmFtZSI6IjE3MzAxMjQ5OTc1IiwiYXV0aFN0YXR1cyI6IiIsImF1dGhlbnRpY2F0aW9uSWRlbnRpdHkiOiJsb2dpbiIsInR5cGUiOiJ0ZWFjaGVyIiwidXNlcklkIjoiMTUxOTk1OTIwODUyOTg2Njc1MyIsImNsaWVudF9pZCI6IndvcmthaSIsInN0dWRlbnRJZCI6IiIsInRlYWNoZXJJZCI6IjE1MTk5NTkyMDkyNzY0NTI4NjUiLCJ0ZW5hbnROYW1lIjoiIiwicGhvbmUiOiIxNzMwMTI0OTk3NSIsInNjb3BlIjpbImFsbCJdLCJzY2hvb2xJZCI6IjE1MTk5NTg1NjYxMzAyNTc5MjIiLCJhdGkiOiI4YjRjNWMxMy05NWMxLTRkZTItODY1Ny0yNWE1OTAyMDdhNTQiLCJ0ZW5hbnRJZCI6IiIsIm5hbWUiOiLmoKHplb8iLCJzdHVkZW50U3RhdHVzIjoiIiwiZXhwIjoxNjcyMjkwNjU1LCJzY2hvb2xOYW1lIjoi5rWL6K-V5aSn5a2mIiwianRpIjoiOWI5NDI5ZmUtMzVjOC00ZWYwLThmNzUtYWJlMWRiYWRhOWNjIiwic3RhdHVzIjoiYWN0aXZlIn0.NaWQsVSAEStdy22wdB6ys1HTSl0M62WeJsg2GBz8RLmsKUDbcAs_uRuXjMgvo--CzZdGSbR6GHzUZ8PgIQJ4wdnyc13_fwiWD6mfCCXLcR3oNtem3CypzOnRu2oj155I_CGpe6O2idakmlClfR-8OaDDO_OL1_S550_DoHNvx1KQ_0r_7flydHbyIaobOG3WZL1Tq0E9Q9HeRJUHTknRszGA3_JtcssiTHxp9kimo3oat3X90dhFGGdA2tWGK65bap9miTATVX68bPVxyhU2GY7Gts25jxKg08IbPWSn8iO9W1kZyC_nTdJ94JXj1arPvgY3PjaYO-1Zp8jRYhtoOw', 'expires_in': 35999, 'scope': 'all', 'tenantType': '', 'brokerId': '', 'hroUserToken': None, 'authStatus': '', 'authenticationIdentity': 'login', 'type': 'teacher', 'userId': '1519959208529866753', 'studentId': '', 'teacherId': '1519959209276452865', 'tenantName': '', 'phone': '17301249975', 'schoolId': '1519958566130257922', 'tenantId': '', 'name': '校长', 'studentStatus': '', 'schoolName': '测试大学', 'status': 'active', 'jti': '8b4c5c13-95c1-4de2-8657-25a590207a54'}}
Shishutong authored
290 291 292 293 294 295
test_login_1 (test_01_login.TestLogin)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
296 297
            
                <tr>
Shishutong authored
298 299 300 301
                    <td>2</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_2</td>
                    <td>手机号填写错误的</td>
Shishutong authored
302
                    <td>0.231s</td>
Shishutong authored
303
                    
Shishutong authored
304
                        <td class="text-success">成功</td>
Shishutong authored
305 306
                    
                    <td>
Shishutong authored
307
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
308 309 310 311 312
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
313
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
314 315
                        
Shishutong authored
316
                            <pre>用例入参:{'way': 'name', 'username': '17301149975', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher'}
Shishutong authored
317
预期结果:{'code': 500, 'data': None, 'msg': '用户不存在'}
Shishutong authored
318 319
实际结果:{'code': 500, 'data': None, 'msg': '用户不存在'}
test_login_2 (test_01_login.TestLogin)执行——>【通过】
Shishutong authored
320 321 322 323 324
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
325 326
            
                <tr>
Shishutong authored
327 328 329 330
                    <td>3</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_3</td>
                    <td>手机号不进行填写</td>
Shishutong authored
331
                    <td>0.215s</td>
Shishutong authored
332
                    
Shishutong authored
333
                        <td class="text-success">成功</td>
Shishutong authored
334 335
                    
                    <td>
Shishutong authored
336
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
337 338 339 340 341
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
342
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
343 344
                        
Shishutong authored
345
                            <pre>用例入参:{'way': 'name', 'username': '', 'password': 'f85eea0e15e424aba8675f8848e2cb83', 'type': 'teacher'}
Shishutong authored
346
预期结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'}
Shishutong authored
347 348
实际结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'}
test_login_3 (test_01_login.TestLogin)执行——>【通过】
Shishutong authored
349 350 351 352 353
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
354 355
            
                <tr>
Shishutong authored
356 357 358 359
                    <td>4</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_4</td>
                    <td>密码填写错误</td>
Shishutong authored
360
                    <td>0.299s</td>
Shishutong authored
361
                    
Shishutong authored
362
                        <td class="text-success">成功</td>
Shishutong authored
363 364
                    
                    <td>
Shishutong authored
365
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
366 367 368 369 370
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
371
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
372 373
                        
Shishutong authored
374
                            <pre>用例入参:{'way': 'name', 'username': '17301249975', 'password': 'f85eea0e115e424aba8675f8848e2cb83', 'type': 'teacher'}
Shishutong authored
375
预期结果:{'code': 500, 'data': None, 'msg': '密码不正确'}
Shishutong authored
376 377
实际结果:{'code': 500, 'data': None, 'msg': '密码不正确'}
test_login_4 (test_01_login.TestLogin)执行——>【通过】
Shishutong authored
378 379 380 381 382
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
383 384
            
                <tr>
Shishutong authored
385 386 387 388
                    <td>5</td>
                    <td class="TestLogin">TestLogin</td>
                    <td>test_login_5</td>
                    <td>密码不进行填写</td>
Shishutong authored
389
                    <td>0.215s</td>
Shishutong authored
390
                    
Shishutong authored
391
                        <td class="text-success">成功</td>
Shishutong authored
392 393
                    
                    <td>
Shishutong authored
394
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
395 396 397 398 399
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
400
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
401 402
                        
Shishutong authored
403
                            <pre>用例入参:{'way': 'name', 'username': '17301249975', 'password': '', 'type': 'teacher'}
Shishutong authored
404
预期结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'}
Shishutong authored
405 406
实际结果:{'code': 500, 'data': None, 'msg': '用户名和密码不能为空'}
test_login_5 (test_01_login.TestLogin)执行——>【通过】
Shishutong authored
407 408 409 410 411
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
412 413
            
                <tr>
Shishutong authored
414 415 416 417
                    <td>6</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_1</td>
                    <td>新增院系成功</td>
Shishutong authored
418
                    <td>0.289s</td>
Shishutong authored
419
                    
Shishutong authored
420
                        <td class="text-success">成功</td>
Shishutong authored
421 422
                    
                    <td>
Shishutong authored
423
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
424 425 426 427 428
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
429
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
430 431
                        
Shishutong authored
432
                            <pre>用例入参:{'name': 'py自动化院系20221228_17:10:57_1', 'code': 'py_code20221228_17:10:57_1'}
Shishutong authored
433 434 435 436 437 438 439 440
预期结果: {'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
441 442
            
                <tr>
Shishutong authored
443 444 445 446
                    <td>7</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_2</td>
                    <td>院系名称未填写</td>
Shishutong authored
447
                    <td>0.228s</td>
Shishutong authored
448
                    
Shishutong authored
449
                        <td class="text-success">成功</td>
Shishutong authored
450 451
                    
                    <td>
Shishutong authored
452
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
453 454 455 456 457
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
458
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
459 460
                        
Shishutong authored
461
                            <pre>用例入参:{'name': '', 'code': 'py_code20221228_17:10:57_2'}
Shishutong authored
462 463 464
预期结果: {'msg': '院系名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系名称不能为空', 'code': 500, 'data': None}
test_add_department_2 (test_02_system_management.Test01Department)执行——>【通过】
Shishutong authored
465 466 467 468 469
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
470 471
            
                <tr>
Shishutong authored
472 473 474 475
                    <td>8</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_3</td>
                    <td>院系名称重复</td>
Shishutong authored
476
                    <td>0.261s</td>
Shishutong authored
477
                    
Shishutong authored
478
                        <td class="text-success">成功</td>
Shishutong authored
479 480
                    
                    <td>
Shishutong authored
481
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
482 483 484 485 486
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
487
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
488 489
                        
Shishutong authored
490
                            <pre>用例入参:{'name': '院系1', 'code': 'py_code20221228_17:10:57_3'}
Shishutong authored
491 492 493 494 495 496 497 498
预期结果: {'msg': '院系名称已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '院系名称已存在,请确认', 'code': 500, 'data': None}
test_add_department_3 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
499 500
            
                <tr>
Shishutong authored
501 502 503 504
                    <td>9</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_4</td>
                    <td>院系名称长度不可大于30位</td>
Shishutong authored
505
                    <td>0.24s</td>
Shishutong authored
506
                    
Shishutong authored
507
                        <td class="text-success">成功</td>
Shishutong authored
508 509
                    
                    <td>
Shishutong authored
510
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
511 512 513 514 515
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
516
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
517 518
                        
Shishutong authored
519
                            <pre>用例入参:{'name': '院系名称长度大于30的测试院系名称长度大于30的测试院系名称长度大于30的测试院系名称长度大于30的测试', 'code': 'py_code20221228_17:10:58_4'}
Shishutong authored
520 521 522
预期结果: {'msg': '院系名称长度不可大于30位', 'code': 500, 'data': None}
实际结果: {'msg': '院系名称长度不可大于30位', 'code': 500, 'data': None}
test_add_department_4 (test_02_system_management.Test01Department)执行——>【通过】
Shishutong authored
523 524 525 526 527
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
528 529
            
                <tr>
Shishutong authored
530 531 532
                    <td>10</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_5</td>
Shishutong authored
533
                    <td>院系代码重复</td>
Shishutong authored
534
                    <td>0.267s</td>
Shishutong authored
535
                    
Shishutong authored
536
                        <td class="text-success">成功</td>
Shishutong authored
537 538
                    
                    <td>
Shishutong authored
539
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
540 541 542 543 544
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
545
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
546 547
                        
Shishutong authored
548
                            <pre>用例入参:{'name': 'py自动化院系20221228_17:10:58_5', 'code': '批量导入院系'}
Shishutong authored
549 550
预期结果: {'msg': '院系代码已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '院系代码已存在,请确认', 'code': 500, 'data': None}
Shishutong authored
551
test_add_department_5 (test_02_system_management.Test01Department)执行——>【通过】
Shishutong authored
552 553 554 555 556
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
557 558
            
                <tr>
Shishutong authored
559 560 561
                    <td>11</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_6</td>
Shishutong authored
562
                    <td>院系代码不能为空</td>
Shishutong authored
563
                    <td>0.271s</td>
Shishutong authored
564
                    
Shishutong authored
565
                        <td class="text-success">成功</td>
Shishutong authored
566 567
                    
                    <td>
Shishutong authored
568
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
569 570 571 572 573
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
574
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
575 576
                        
Shishutong authored
577
                            <pre>用例入参:{'name': 'py自动化院系20221228_17:10:58_6', 'code': ''}
Shishutong authored
578 579 580 581 582 583 584 585
预期结果: {'msg': '院系代码不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系代码不能为空', 'code': 500, 'data': None}
test_add_department_6 (test_02_system_management.Test01Department)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
586 587
            
                <tr>
Shishutong authored
588 589 590
                    <td>12</td>
                    <td class="Test01Department">Test01Department</td>
                    <td>test_add_department_7</td>
Shishutong authored
591
                    <td>院系代码长度不可大于30</td>
Shishutong authored
592
                    <td>0.267s</td>
Shishutong authored
593
                    
Shishutong authored
594
                        <td class="text-success">成功</td>
Shishutong authored
595 596
                    
                    <td>
Shishutong authored
597
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
598 599 600 601 602
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
603
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
604 605
                        
Shishutong authored
606
                            <pre>用例入参:{'name': 'py自动化院系20221228_17:10:59_7', 'code': '院系代码长度大于30的测试院系代码长度大于30的测试院系代码长度大于30的测试'}
Shishutong authored
607 608
预期结果: {'msg': '院系代码长度不可大于30', 'code': 500, 'data': None}
实际结果: {'msg': '院系代码长度不可大于30', 'code': 500, 'data': None}
Shishutong authored
609
test_add_department_7 (test_02_system_management.Test01Department)执行——>【通过】
Shishutong authored
610 611 612
</pre>
                        
                        
Shishutong authored
613 614
                    </td>
                </tr>
Shishutong authored
615 616
            
                <tr>
Shishutong authored
617
                    <td>13</td>
Shishutong authored
618 619 620
                    <td class="Test01Department">Test01Department</td>
                    <td>test_select_department_1</td>
                    <td>查看院系列表</td>
Shishutong authored
621
                    <td>0.287s</td>
Shishutong authored
622
                    
Shishutong authored
623
                        <td class="text-success">成功</td>
Shishutong authored
624 625
                    
                    <td>
Shishutong authored
626
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
627 628
                    </td>
                </tr>
Shishutong authored
629
Shishutong authored
630 631
                <tr class="test_log">
Shishutong authored
632
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
633 634
                        
Shishutong authored
635 636
                            <pre>用例入参:{'pageNumber': '0', 'pageSize': '3'}
预期结果: {'msg': 'success', 'code': 200}
Shishutong authored
637
实际结果: {'msg': 'success', 'code': 200, 'data': {'records': [{'id': '1608027714126999553', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_17:10:57_1', 'code': 'py_code20221228_17:10:57_1', 'createdBy': '1519959209276452865', 'createdTime': 1672218657000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608021494779473921', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:46:14_1', 'code': 'py_code20221228_16:46:14_1', 'createdBy': '1519959209276452865', 'createdTime': 1672217175000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608020376951320577', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:41:48_1', 'code': 'py_code20221228_16:41:48_1', 'createdBy': '1519959209276452865', 'createdTime': 1672216908000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608020313155956738', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:41:32_1', 'code': 'py_code20221228_16:41:32_1', 'createdBy': '1519959209276452865', 'createdTime': 1672216893000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608019927741362178', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:40:01_1', 'code': 'py_code20221228_16:40:01_1', 'createdBy': '1519959209276452865', 'createdTime': 1672216801000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608018251252887554', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:33:21_1', 'code': 'py_code20221228_16:33:21_1', 'createdBy': '1519959209276452865', 'createdTime': 1672216401000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608016308484829185', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:25:38_1', 'code': 'py_code20221228_16:25:38_1', 'createdBy': '1519959209276452865', 'createdTime': 1672215938000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608013638042775553', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:15:01_1', 'code': 'py_code20221228_16:15:01_1', 'createdBy': '1519959209276452865', 'createdTime': 1672215301000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608013286291664898', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:13:37_1', 'code': 'py_code20221228_16:13:37_1', 'createdBy': '1519959209276452865', 'createdTime': 1672215218000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608013032032956418', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_16:12:36_1', 'code': 'py_code20221228_16:12:36_1', 'createdBy': '1519959209276452865', 'createdTime': 1672215157000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608007397358825474', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_15:50:13_1', 'code': 'py_code20221228_15:50:13_1', 'createdBy': '1519959209276452865', 'createdTime': 1672213814000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608006626865180673', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_15:47:09_1', 'code': 'py_code20221228_15:47:09_1', 'createdBy': '1519959209276452865', 'createdTime': 1672213630000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608006394848866306', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_15:46:14_1', 'code': 'py_code20221228_15:46:14_1', 'createdBy': '1519959209276452865', 'createdTime': 1672213575000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608005946079309826', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_15:44:27_1', 'code': 'py_code20221228_15:44:27_1', 'createdBy': '1519959209276452865', 'createdTime': 1672213468000, 'updatedBy': None, 'updatedTime': None}, {'id': '1608005570584244225', 'schoolId': '1519958566130257922', 'name': 'py自动化院系20221228_15:42:57_1', 'code': 'py_code20221228_15:42:57_1', 'createdBy': '1519959209276452865', 'createdTime': 1672213378000, 'updatedBy': None, 'updatedTime': None}], 'total': 461, 'size': 15, 'current': 1, 'orders': [], 'optimizeCountSql': True, 'searchCount': True, 'countId': '', 'maxLimit': None, 'pages': 31}}
Shishutong authored
638
test_select_department_1 (test_02_system_management.Test01Department)执行——>【通过】
Shishutong authored
639 640 641 642 643
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
644 645
            
                <tr>
Shishutong authored
646
                    <td>14</td>
Shishutong authored
647 648 649
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_01</td>
                    <td>新增专业成功</td>
Shishutong authored
650
                    <td>1.02s</td>
Shishutong authored
651
                    
Shishutong authored
652
                        <td class="text-success">成功</td>
Shishutong authored
653 654
                    
                    <td>
Shishutong authored
655
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
656 657 658 659 660
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
661
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
662 663
                        
Shishutong authored
664
                            <pre>用例入参:{'name': 'py专业17:11:00_1', 'code': 'py_code17:11:00_1', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
665 666 667 668 669 670 671 672
预期结果: {'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
673 674
            
                <tr>
Shishutong authored
675
                    <td>15</td>
Shishutong authored
676 677 678
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_02</td>
                    <td>新增专业失败,院系未填写</td>
Shishutong authored
679
                    <td>0.863s</td>
Shishutong authored
680
                    
Shishutong authored
681
                        <td class="text-success">成功</td>
Shishutong authored
682 683
                    
                    <td>
Shishutong authored
684
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
685 686 687 688 689
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
690
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
691 692
                        
Shishutong authored
693
                            <pre>用例入参:{'name': 'py专业17:11:01_2', 'code': 'py_code17:11:01_2', 'departmentId': '', 'category': 'science'}
Shishutong authored
694 695 696 697 698 699 700 701
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_specialty_02 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
702 703
            
                <tr>
Shishutong authored
704
                    <td>16</td>
Shishutong authored
705 706 707
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_03</td>
                    <td>新增专业失败,院系不存在</td>
Shishutong authored
708
                    <td>1.03s</td>
Shishutong authored
709
                    
Shishutong authored
710
                        <td class="text-success">成功</td>
Shishutong authored
711 712
                    
                    <td>
Shishutong authored
713
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
714 715 716 717 718
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
719
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
720 721
                        
Shishutong authored
722
                            <pre>用例入参:{'name': 'py专业17:11:01_3', 'code': 'py_code17:11:01_3', 'departmentId': '23232333333', 'category': 'science'}
Shishutong authored
723
预期结果: {'msg': '院系不存在', 'code': 500, 'data': None}
Shishutong authored
724 725
实际结果: {'msg': '院系不存在', 'code': 500, 'data': None}
test_add_specialty_03 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
726 727 728 729 730
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
731 732
            
                <tr>
Shishutong authored
733
                    <td>17</td>
Shishutong authored
734 735 736
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_04</td>
                    <td>新增专业失败,专业名称未填写</td>
Shishutong authored
737
                    <td>0.812s</td>
Shishutong authored
738
                    
Shishutong authored
739
                        <td class="text-success">成功</td>
Shishutong authored
740 741
                    
                    <td>
Shishutong authored
742
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
743 744 745 746 747
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
748
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
749 750
                        
Shishutong authored
751
                            <pre>用例入参:{'name': '', 'code': 'py_code17:11:02_4', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
752 753 754
预期结果: {'msg': '专业名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '专业名称不能为空', 'code': 500, 'data': None}
test_add_specialty_04 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
755 756 757 758 759
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
760 761
            
                <tr>
Shishutong authored
762
                    <td>18</td>
Shishutong authored
763 764
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_05</td>
Shishutong authored
765
                    <td>专业名称长度不能大于30</td>
Shishutong authored
766
                    <td>0.806s</td>
Shishutong authored
767
                    
Shishutong authored
768
                        <td class="text-success">成功</td>
Shishutong authored
769 770
                    
                    <td>
Shishutong authored
771
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
772 773 774 775 776
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
777
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
778 779
                        
Shishutong authored
780
                            <pre>用例入参:{'name': '专业大于301234567890专业大于301234567890', 'code': 'py_code17:11:03_5', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
781 782 783
预期结果: {'msg': '专业名称长度不能大于30', 'code': 500, 'data': None}
实际结果: {'msg': '专业名称长度不能大于30', 'code': 500, 'data': None}
test_add_specialty_05 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
784 785 786 787 788
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
789 790
            
                <tr>
Shishutong authored
791
                    <td>19</td>
Shishutong authored
792 793 794
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_06</td>
                    <td>新增专业失败,专业名称重复</td>
Shishutong authored
795
                    <td>0.824s</td>
Shishutong authored
796
                    
Shishutong authored
797
                        <td class="text-success">成功</td>
Shishutong authored
798 799
                    
                    <td>
Shishutong authored
800
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
801 802 803 804 805
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
806
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
807 808
                        
Shishutong authored
809
                            <pre>用例入参:{'name': '第二个专业-2-1', 'code': 'py_code17:11:04_6', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
810 811 812 813 814 815 816 817
预期结果: {'msg': '专业名称已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '专业名称已存在,请确认', 'code': 500, 'data': None}
test_add_specialty_06 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
818 819
            
                <tr>
Shishutong authored
820
                    <td>20</td>
Shishutong authored
821 822
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_07</td>
Shishutong authored
823
                    <td>新增专业失败,专业代码重复</td>
Shishutong authored
824
                    <td>0.842s</td>
Shishutong authored
825
                    
Shishutong authored
826
                        <td class="text-success">成功</td>
Shishutong authored
827 828
                    
                    <td>
Shishutong authored
829
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
830 831 832 833 834
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
835
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
836 837
                        
Shishutong authored
838
                            <pre>用例入参:{'name': 'py专业17:11:05_7', 'code': '12', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
839 840 841 842 843 844 845 846
预期结果: {'msg': '专业代码已存在,请确认', 'code': 500, 'data': None}
实际结果: {'msg': '专业代码已存在,请确认', 'code': 500, 'data': None}
test_add_specialty_07 (test_02_system_management.Test02Specialty)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
847 848
            
                <tr>
Shishutong authored
849 850 851
                    <td>21</td>
                    <td class="Test02Specialty">Test02Specialty</td>
                    <td>test_add_specialty_08</td>
Shishutong authored
852
                    <td>新增专业失败,专业代码未填写</td>
Shishutong authored
853
                    <td>0.8s</td>
Shishutong authored
854
                    
Shishutong authored
855
                        <td class="text-success">成功</td>
Shishutong authored
856 857
                    
                    <td>
Shishutong authored
858
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
859 860 861 862 863
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
864
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
865 866
                        
Shishutong authored
867
                            <pre>用例入参:{'name': 'py专业17:11:06_8', 'code': '', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
868
预期结果: {'msg': '专业代码不能为空', 'code': 500, 'data': None}
Shishutong authored
869
实际结果: {'msg': '专业代码不能为空', 'code': 500, 'data': None}
Shishutong authored
870
test_add_specialty_08 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
871 872 873 874 875
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
876 877
            
                <tr>
Shishutong authored
878
                    <td>22</td>
Shishutong authored
879
                    <td class="Test02Specialty">Test02Specialty</td>
Shishutong authored
880
                    <td>test_add_specialty_09</td>
Shishutong authored
881
                    <td>新增专业失败,专业代码长度不能大于30</td>
Shishutong authored
882
                    <td>0.927s</td>
Shishutong authored
883
                    
Shishutong authored
884
                        <td class="text-success">成功</td>
Shishutong authored
885 886
                    
                    <td>
Shishutong authored
887
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
888 889 890 891 892
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
893
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
894 895
                        
Shishutong authored
896
                            <pre>用例入参:{'name': 'py专业17:11:07_9', 'code': '专业代码大于301234567890专业大于301234567890', 'departmentId': '1608027714126999553', 'category': 'science'}
Shishutong authored
897 898
预期结果: {'msg': '专业代码长度不能大于30', 'code': 500, 'data': None}
实际结果: {'msg': '专业代码长度不能大于30', 'code': 500, 'data': None}
Shishutong authored
899
test_add_specialty_09 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
900 901 902 903 904
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
905 906
            
                <tr>
Shishutong authored
907
                    <td>23</td>
Shishutong authored
908
                    <td class="Test02Specialty">Test02Specialty</td>
Shishutong authored
909
                    <td>test_add_specialty_10</td>
Shishutong authored
910
                    <td>新增专业失败,学科门类未填写</td>
Shishutong authored
911
                    <td>0.899s</td>
Shishutong authored
912
                    
Shishutong authored
913
                        <td class="text-success">成功</td>
Shishutong authored
914 915
                    
                    <td>
Shishutong authored
916
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
917 918 919 920 921
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
922
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
923 924
                        
Shishutong authored
925
                            <pre>用例入参:{'name': 'py专业17:11:07_10', 'code': 'py_code17:11:07_10', 'departmentId': '1608027714126999553', 'category': ''}
Shishutong authored
926
预期结果: {'msg': '学科门类不能为空', 'code': 500, 'data': None}
Shishutong authored
927
实际结果: {'msg': '学科门类不能为空', 'code': 500, 'data': None}
Shishutong authored
928
test_add_specialty_10 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
929 930 931 932 933
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
934 935
            
                <tr>
Shishutong authored
936
                    <td>24</td>
Shishutong authored
937
                    <td class="Test02Specialty">Test02Specialty</td>
Shishutong authored
938
                    <td>test_add_specialty_11</td>
Shishutong authored
939
                    <td>新增专业失败,学科门类填写错误</td>
Shishutong authored
940
                    <td>0.844s</td>
Shishutong authored
941
                    
Shishutong authored
942
                        <td class="text-success">成功</td>
Shishutong authored
943 944
                    
                    <td>
Shishutong authored
945
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
946 947 948 949 950
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
951
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
952 953
                        
Shishutong authored
954
                            <pre>用例入参:{'name': 'py专业17:11:08_11', 'code': 'py_code17:11:08_11', 'departmentId': '1608027714126999553', 'category': 'scienwce'}
Shishutong authored
955
预期结果: {'msg': '学科门类不存在', 'code': 500, 'data': None}
Shishutong authored
956
实际结果: {'msg': '学科门类不存在', 'code': 500, 'data': None}
Shishutong authored
957
test_add_specialty_11 (test_02_system_management.Test02Specialty)执行——>【通过】
Shishutong authored
958 959 960 961 962
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
963 964
            
                <tr>
Shishutong authored
965
                    <td>25</td>
Shishutong authored
966 967 968
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_1</td>
                    <td>新增学年学期成功</td>
Shishutong authored
969
                    <td>0.263s</td>
Shishutong authored
970
                    
Shishutong authored
971
                        <td class="text-success">成功</td>
Shishutong authored
972 973
                    
                    <td>
Shishutong authored
974
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
975 976 977 978 979
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
980
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
981 982
                        
Shishutong authored
983
                            <pre>用例入参:{'year': 'py学年17:11:10_1', 'remark': 'py_comment备注17:11:10_1', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
984 985 986 987 988 989 990 991
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_year_1 (test_02_system_management.Test03Year)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
992 993
            
                <tr>
Shishutong authored
994
                    <td>26</td>
Shishutong authored
995 996
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_2</td>
Shishutong authored
997
                    <td>学年名称不可超过30字</td>
Shishutong authored
998
                    <td>0.272s</td>
Shishutong authored
999
                    
Shishutong authored
1000
                        <td class="text-success">成功</td>
Shishutong authored
1001 1002
                    
                    <td>
Shishutong authored
1003
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1004 1005 1006 1007 1008
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1009
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1010 1011
                        
Shishutong authored
1012
                            <pre>用例入参:{'year': '1234567890123456789012345678901', 'remark': 'py_comment备注17:11:10_2', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1013 1014 1015 1016 1017 1018 1019 1020
预期结果: {'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
1021 1022
            
                <tr>
Shishutong authored
1023 1024 1025
                    <td>27</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_3</td>
Shishutong authored
1026
                    <td>学年学期开始时间和结束时间不可交叉</td>
Shishutong authored
1027
                    <td>0.26s</td>
Shishutong authored
1028
                    
Shishutong authored
1029
                        <td class="text-success">成功</td>
Shishutong authored
1030 1031
                    
                    <td>
Shishutong authored
1032
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1033 1034 1035 1036 1037
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1038
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1039 1040
                        
Shishutong authored
1041
                            <pre>用例入参:{'year': 'py学年17:11:10_3', 'remark': 'py_comment备注17:11:10_3', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}, {'sort': 2, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1042
预期结果: {'msg': '学期起止时间不能交叉', 'code': 500, 'data': None}
Shishutong authored
1043
实际结果: {'msg': '学期起止时间不能交叉', 'code': 500, 'data': None}
Shishutong authored
1044
test_add_year_3 (test_02_system_management.Test03Year)执行——>【通过】
Shishutong authored
1045 1046 1047
</pre>
                        
                        
Shishutong authored
1048 1049
                    </td>
                </tr>
Shishutong authored
1050 1051
            
                <tr>
Shishutong authored
1052
                    <td>28</td>
Shishutong authored
1053
                    <td class="Test03Year">Test03Year</td>
Shishutong authored
1054
                    <td>test_add_year_4</td>
Shishutong authored
1055
                    <td>学年未填写</td>
Shishutong authored
1056
                    <td>0.254s</td>
Shishutong authored
1057
                    
Shishutong authored
1058
                        <td class="text-success">成功</td>
Shishutong authored
1059 1060
                    
                    <td>
Shishutong authored
1061
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1062 1063
                    </td>
                </tr>
Shishutong authored
1064
Shishutong authored
1065
                <tr class="test_log">
Shishutong authored
1066
Shishutong authored
1067
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1068 1069
                        
Shishutong authored
1070
                            <pre>用例入参:{'year': '', 'remark': 'py_comment备注17:11:10_4', 'terms': [{'sort': 1, 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1071 1072
预期结果: {'msg': '学年不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学年不能为空', 'code': 500, 'data': None}
Shishutong authored
1073
test_add_year_4 (test_02_system_management.Test03Year)执行——>【通过】
Shishutong authored
1074 1075 1076
</pre>
                        
                        
Shishutong authored
1077 1078
                    </td>
                </tr>
Shishutong authored
1079 1080
            
                <tr>
Shishutong authored
1081
                    <td>29</td>
Shishutong authored
1082
                    <td class="Test03Year">Test03Year</td>
Shishutong authored
1083
                    <td>test_add_year_5</td>
Shishutong authored
1084
                    <td>学期未填写</td>
Shishutong authored
1085
                    <td>0.268s</td>
Shishutong authored
1086
                    
Shishutong authored
1087
                        <td class="text-success">成功</td>
Shishutong authored
1088 1089
                    
                    <td>
Shishutong authored
1090
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1091 1092
                    </td>
                </tr>
Shishutong authored
1093
Shishutong authored
1094 1095
                <tr class="test_log">
Shishutong authored
1096
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1097 1098
                        
Shishutong authored
1099
                            <pre>用例入参:{'year': 'py学年17:11:11_5', 'remark': 'py_comment备注17:11:11_5', 'terms': [{'sort': '', 'startTime': 1667376499000, 'endTime': 1704115459000}]}
Shishutong authored
1100 1101
预期结果: {'msg': '学期排序不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期排序不能为空', 'code': 500, 'data': None}
Shishutong authored
1102
test_add_year_5 (test_02_system_management.Test03Year)执行——>【通过】
Shishutong authored
1103 1104
</pre>
                        
Shishutong authored
1105 1106 1107
                        
                    </td>
                </tr>
Shishutong authored
1108 1109
            
                <tr>
Shishutong authored
1110
                    <td>30</td>
Shishutong authored
1111
                    <td class="Test03Year">Test03Year</td>
Shishutong authored
1112
                    <td>test_add_year_6</td>
Shishutong authored
1113
                    <td>学期开始时间未填写</td>
Shishutong authored
1114
                    <td>0.263s</td>
Shishutong authored
1115
                    
Shishutong authored
1116
                        <td class="text-success">成功</td>
Shishutong authored
1117 1118
                    
                    <td>
Shishutong authored
1119
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1120 1121
                    </td>
                </tr>
Shishutong authored
1122
Shishutong authored
1123 1124
                <tr class="test_log">
Shishutong authored
1125
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1126 1127
                        
Shishutong authored
1128
                            <pre>用例入参:{'year': 'py学年17:11:11_6', 'remark': 'py_comment备注17:11:11_6', 'terms': [{'sort': 1, 'startTime': '', 'endTime': 1704115459000}]}
Shishutong authored
1129 1130
预期结果: {'msg': '学期开始时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期开始时间不能为空', 'code': 500, 'data': None}
Shishutong authored
1131
test_add_year_6 (test_02_system_management.Test03Year)执行——>【通过】
Shishutong authored
1132 1133
</pre>
                        
Shishutong authored
1134 1135 1136
                        
                    </td>
                </tr>
Shishutong authored
1137 1138
            
                <tr>
Shishutong authored
1139
                    <td>31</td>
Shishutong authored
1140
                    <td class="Test03Year">Test03Year</td>
Shishutong authored
1141
                    <td>test_add_year_7</td>
Shishutong authored
1142
                    <td>学期结束时间未填写</td>
Shishutong authored
1143
                    <td>0.365s</td>
Shishutong authored
1144
                    
Shishutong authored
1145
                        <td class="text-success">成功</td>
Shishutong authored
1146 1147
                    
                    <td>
Shishutong authored
1148
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1149 1150
                    </td>
                </tr>
Shishutong authored
1151
Shishutong authored
1152 1153
                <tr class="test_log">
Shishutong authored
1154
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1155
                        
Shishutong authored
1156
Shishutong authored
1157
                            <pre>用例入参:{'year': 'py学年17:11:11_7', 'remark': 'py_comment备注17:11:11_7', 'terms': [{'sort': 1, 'startTime': 1704115459000, 'endTime': ''}]}
Shishutong authored
1158 1159
预期结果: {'msg': '学期结束时间不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期结束时间不能为空', 'code': 500, 'data': None}
Shishutong authored
1160
test_add_year_7 (test_02_system_management.Test03Year)执行——>【通过】
Shishutong authored
1161 1162 1163 1164 1165
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1166 1167
            
                <tr>
Shishutong authored
1168 1169 1170 1171
                    <td>32</td>
                    <td class="Test03Year">Test03Year</td>
                    <td>test_add_year_8</td>
                    <td>学期不可超过5个学期</td>
Shishutong authored
1172
                    <td>0.257s</td>
Shishutong authored
1173
                    
Shishutong authored
1174
                        <td class="text-success">成功</td>
Shishutong authored
1175 1176
                    
                    <td>
Shishutong authored
1177
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1178 1179 1180 1181 1182
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1183
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1184 1185
                        
Shishutong authored
1186
                            <pre>用例入参:{'year': 'py学年17:11:12_8', 'remark': 'py_comment备注17:11:12_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
1187 1188 1189 1190 1191 1192 1193 1194
预期结果: {'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
1195 1196
            
                <tr>
Shishutong authored
1197
                    <td>33</td>
Shishutong authored
1198
                    <td class="Test01CTeacher">Test01CTeacher</td>
Shishutong authored
1199
                    <td>test_add_teacher_info_1</td>
Shishutong authored
1200
                    <td>新增教师</td>
Shishutong authored
1201
                    <td>0.509s</td>
Shishutong authored
1202
                    
Shishutong authored
1203
                        <td class="text-success">成功</td>
Shishutong authored
1204 1205
                    
                    <td>
Shishutong authored
1206
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1207 1208 1209 1210 1211
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1212
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1213 1214
                        
Shishutong authored
1215
                            <pre>用例入参:{'name': 'py自动化教师20221228_17:11:13_1', 'number': '13684891700', 'departmentIds': ['1608027714126999553'], 'phone': '13684891700', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '140101200102141306', 'gender': 0, 'entryTime': 1663084800000, 'email': '46488158089@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1608027714126999553'}
Shishutong authored
1216
预期结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
1217 1218
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_teacher_info_1 (test_03_teaching_affairs.Test01CTeacher)执行——>【通过】
Shishutong authored
1219 1220 1221
</pre>
                        
                        
Shishutong authored
1222 1223
                    </td>
                </tr>
Shishutong authored
1224 1225
            
                <tr>
Shishutong authored
1226
                    <td>34</td>
Shishutong authored
1227 1228 1229
                    <td class="Test01CTeacher">Test01CTeacher</td>
                    <td>test_add_teacher_info_2</td>
                    <td>教师姓名不能为空</td>
Shishutong authored
1230
                    <td>0.264s</td>
Shishutong authored
1231
                    
Shishutong authored
1232
                        <td class="text-success">成功</td>
Shishutong authored
1233 1234
                    
                    <td>
Shishutong authored
1235
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1236 1237
                    </td>
                </tr>
Shishutong authored
1238
Shishutong authored
1239
                <tr class="test_log">
Shishutong authored
1240
Shishutong authored
1241
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1242 1243
                        
Shishutong authored
1244
                            <pre>用例入参:{'name': '', 'number': '17336539569', 'departmentIds': ['1608027714126999553'], 'phone': '17336539569', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '640101199408241361', 'gender': 0, 'entryTime': 1663084800000, 'email': '94811735066@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1608027714126999553'}
Shishutong authored
1245 1246 1247
预期结果: {'msg': '教师姓名不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师姓名不能为空', 'code': 500, 'data': None}
test_add_teacher_info_2 (test_03_teaching_affairs.Test01CTeacher)执行——>【通过】
Shishutong authored
1248 1249 1250
</pre>
                        
                        
Shishutong authored
1251 1252
                    </td>
                </tr>
Shishutong authored
1253 1254
            
                <tr>
Shishutong authored
1255
                    <td>35</td>
Shishutong authored
1256 1257 1258
                    <td class="Test01CTeacher">Test01CTeacher</td>
                    <td>test_add_teacher_info_3</td>
                    <td>教师手机号不能为空</td>
Shishutong authored
1259
                    <td>0.248s</td>
Shishutong authored
1260
                    
Shishutong authored
1261
                        <td class="text-success">成功</td>
Shishutong authored
1262 1263
                    
                    <td>
Shishutong authored
1264
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1265 1266
                    </td>
                </tr>
Shishutong authored
1267
Shishutong authored
1268 1269
                <tr class="test_log">
Shishutong authored
1270
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1271 1272
                        
Shishutong authored
1273
                            <pre>用例入参:{'name': 'py自动化教师20221228_17:11:14_3', 'number': '', 'departmentIds': ['1608027714126999553'], 'phone': '', 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '640101196308260203', 'gender': 0, 'entryTime': 1663084800000, 'email': '56668333203@163.com', 'professionalIds': [], 'roleIds': ['968160378070540291'], 'permissionScope': '1608027714126999553'}
Shishutong authored
1274 1275 1276
预期结果: {'msg': '教师手机号不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '教师手机号不能为空', 'code': 500, 'data': None}
test_add_teacher_info_3 (test_03_teaching_affairs.Test01CTeacher)执行——>【通过】
Shishutong authored
1277 1278
</pre>
                        
Shishutong authored
1279 1280 1281
                        
                    </td>
                </tr>
Shishutong authored
1282 1283
            
                <tr>
Shishutong authored
1284
                    <td>36</td>
Shishutong authored
1285
                    <td class="Test02Class">Test02Class</td>
Shishutong authored
1286
                    <td>test_add_class_info_01</td>
Shishutong authored
1287
                    <td>新增班级</td>
Shishutong authored
1288
                    <td>0.332s</td>
Shishutong authored
1289
                    
Shishutong authored
1290
                        <td class="text-success">成功</td>
Shishutong authored
1291 1292
                    
                    <td>
Shishutong authored
1293
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1294 1295
                    </td>
                </tr>
Shishutong authored
1296
Shishutong authored
1297 1298
                <tr class="test_log">
Shishutong authored
1299
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1300 1301
                        
Shishutong authored
1302
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:16_1', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1303 1304
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
1305
test_add_class_info_01 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1306 1307
</pre>
                        
Shishutong authored
1308 1309 1310
                        
                    </td>
                </tr>
Shishutong authored
1311 1312
            
                <tr>
Shishutong authored
1313 1314 1315 1316
                    <td>37</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_02</td>
                    <td>班级名称未填写</td>
Shishutong authored
1317
                    <td>0.246s</td>
Shishutong authored
1318
                    
Shishutong authored
1319
                        <td class="text-success">成功</td>
Shishutong authored
1320 1321
                    
                    <td>
Shishutong authored
1322
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1323 1324
                    </td>
                </tr>
Shishutong authored
1325
Shishutong authored
1326 1327
                <tr class="test_log">
Shishutong authored
1328
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1329
                        
Shishutong authored
1330
Shishutong authored
1331
                            <pre>用例入参:{'name': '', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1332 1333 1334 1335 1336 1337 1338 1339
预期结果: {'msg': '班级名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '班级名称不能为空', 'code': 500, 'data': None}
test_add_class_info_02 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1340 1341
            
                <tr>
Shishutong authored
1342 1343 1344 1345
                    <td>38</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_03</td>
                    <td>班级名称已存在</td>
Shishutong authored
1346
                    <td>0.267s</td>
Shishutong authored
1347
                    
Shishutong authored
1348
                        <td class="text-success">成功</td>
Shishutong authored
1349 1350
                    
                    <td>
Shishutong authored
1351
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1352 1353 1354 1355 1356
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1357
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368
                        

                            <pre>用例入参:{'name': '权限测试第一个班级-1-修改1', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1607634271332593665', 'teacherId': '1607634326517051394', 'departmentId': '1607634257592053761'}
预期结果: {'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
1369 1370
            
                <tr>
Shishutong authored
1371 1372 1373 1374
                    <td>39</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_04</td>
                    <td>学制未填写</td>
Shishutong authored
1375
                    <td>0.256s</td>
Shishutong authored
1376
                    
Shishutong authored
1377
                        <td class="text-success">成功</td>
Shishutong authored
1378 1379
                    
                    <td>
Shishutong authored
1380
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1381 1382 1383 1384 1385
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1386
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1387 1388
                        
Shishutong authored
1389
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:17_4', 'educationalSystem': '', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1390 1391 1392 1393 1394 1395 1396 1397
预期结果: {'msg': '学制不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学制不能为空', 'code': 500, 'data': None}
test_add_class_info_04 (test_03_teaching_affairs.Test02Class)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1398 1399
            
                <tr>
Shishutong authored
1400 1401 1402 1403
                    <td>40</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_05</td>
                    <td>学制填写错误,最多为10年</td>
Shishutong authored
1404
                    <td>0.253s</td>
Shishutong authored
1405
                    
Shishutong authored
1406
                        <td class="text-success">成功</td>
Shishutong authored
1407 1408
                    
                    <td>
Shishutong authored
1409
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1410 1411 1412 1413 1414
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1415
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1416 1417
                        
Shishutong authored
1418
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:18_5', 'educationalSystem': '11', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1419
预期结果: {'msg': '学制最多为10年', 'code': 500, 'data': None}
Shishutong authored
1420 1421
实际结果: {'msg': '学制最多为10年', 'code': 500, 'data': None}
test_add_class_info_05 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1422 1423 1424
</pre>
                        
                        
Shishutong authored
1425 1426
                    </td>
                </tr>
Shishutong authored
1427 1428
            
                <tr>
Shishutong authored
1429 1430 1431 1432
                    <td>41</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_06</td>
                    <td>学制填写错误,最多为10年</td>
Shishutong authored
1433
                    <td>0.282s</td>
Shishutong authored
1434
                    
Shishutong authored
1435
                        <td class="text-success">成功</td>
Shishutong authored
1436 1437
                    
                    <td>
Shishutong authored
1438
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1439 1440
                    </td>
                </tr>
Shishutong authored
1441
Shishutong authored
1442
                <tr class="test_log">
Shishutong authored
1443
Shishutong authored
1444
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1445 1446
                        
Shishutong authored
1447
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:18_6', 'educationalSystem': '100', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1448 1449 1450
预期结果: {'msg': '学制最多为10年', 'code': 500, 'data': None}
实际结果: {'msg': '学制最多为10年', 'code': 500, 'data': None}
test_add_class_info_06 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1451 1452 1453
</pre>
                        
                        
Shishutong authored
1454 1455
                    </td>
                </tr>
Shishutong authored
1456 1457
            
                <tr>
Shishutong authored
1458 1459 1460 1461
                    <td>42</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_07</td>
                    <td>入学年份未填写</td>
Shishutong authored
1462
                    <td>0.229s</td>
Shishutong authored
1463
                    
Shishutong authored
1464
                        <td class="text-success">成功</td>
Shishutong authored
1465 1466
                    
                    <td>
Shishutong authored
1467
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1468 1469
                    </td>
                </tr>
Shishutong authored
1470
Shishutong authored
1471
                <tr class="test_log">
Shishutong authored
1472
Shishutong authored
1473
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1474 1475
                        
Shishutong authored
1476
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:18_7', 'educationalSystem': '3', 'startSchoolYear': '', 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1477 1478 1479
预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
test_add_class_info_07 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1480 1481 1482
</pre>
                        
                        
Shishutong authored
1483 1484
                    </td>
                </tr>
Shishutong authored
1485 1486
            
                <tr>
Shishutong authored
1487 1488 1489 1490
                    <td>43</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_08</td>
                    <td>专业未填写</td>
Shishutong authored
1491
                    <td>0.259s</td>
Shishutong authored
1492
                    
Shishutong authored
1493
                        <td class="text-success">成功</td>
Shishutong authored
1494 1495
                    
                    <td>
Shishutong authored
1496
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1497 1498
                    </td>
                </tr>
Shishutong authored
1499
Shishutong authored
1500 1501
                <tr class="test_log">
Shishutong authored
1502
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1503
                        
Shishutong authored
1504
Shishutong authored
1505
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:18_8', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1506 1507 1508
预期结果: {'msg': '所属专业不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '所属专业不能为空', 'code': 500, 'data': None}
test_add_class_info_08 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1509 1510 1511 1512 1513
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1514 1515
            
                <tr>
Shishutong authored
1516
                    <td>44</td>
Shishutong authored
1517
                    <td class="Test02Class">Test02Class</td>
Shishutong authored
1518 1519
                    <td>test_add_class_info_09</td>
                    <td>专业填写错误</td>
Shishutong authored
1520
                    <td>0.278s</td>
Shishutong authored
1521
                    
Shishutong authored
1522
                        <td class="text-success">成功</td>
Shishutong authored
1523 1524
                    
                    <td>
Shishutong authored
1525
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1526 1527 1528 1529 1530
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1531
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1532 1533
                        
Shishutong authored
1534
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:19_9', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1607127381431545857', 'teacherId': '1608027781114228738', 'departmentId': '1608027714126999553'}
Shishutong authored
1535 1536 1537
预期结果: {'msg': '专业不存在', 'code': 500, 'data': None}
实际结果: {'msg': '专业不存在', 'code': 500, 'data': None}
test_add_class_info_09 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1538 1539 1540
</pre>
                        
                        
Shishutong authored
1541 1542
                    </td>
                </tr>
Shishutong authored
1543 1544
            
                <tr>
Shishutong authored
1545 1546 1547 1548
                    <td>45</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_10</td>
                    <td>院系不能为空</td>
Shishutong authored
1549
                    <td>0.255s</td>
Shishutong authored
1550
                    
Shishutong authored
1551
                        <td class="text-success">成功</td>
Shishutong authored
1552 1553
                    
                    <td>
Shishutong authored
1554
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1555 1556
                    </td>
                </tr>
Shishutong authored
1557
Shishutong authored
1558
                <tr class="test_log">
Shishutong authored
1559
Shishutong authored
1560
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1561 1562
                        
Shishutong authored
1563
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:19_10', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': ''}
Shishutong authored
1564 1565 1566
预期结果: {'msg': '所属院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '所属院系不能为空', 'code': 500, 'data': None}
test_add_class_info_10 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1567 1568 1569
</pre>
                        
                        
Shishutong authored
1570 1571
                    </td>
                </tr>
Shishutong authored
1572 1573
            
                <tr>
Shishutong authored
1574 1575 1576 1577
                    <td>46</td>
                    <td class="Test02Class">Test02Class</td>
                    <td>test_add_class_info_11</td>
                    <td>院系填写错误</td>
Shishutong authored
1578
                    <td>0.256s</td>
Shishutong authored
1579
                    
Shishutong authored
1580
                        <td class="text-success">成功</td>
Shishutong authored
1581 1582
                    
                    <td>
Shishutong authored
1583
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1584 1585
                    </td>
                </tr>
Shishutong authored
1586
Shishutong authored
1587
                <tr class="test_log">
Shishutong authored
1588
Shishutong authored
1589
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1590 1591
                        
Shishutong authored
1592
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:19_11', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1608027781114228738', 'departmentId': '1607560129617769474'}
Shishutong authored
1593 1594 1595
预期结果: {'msg': '院系不存在', 'code': 500, 'data': None}
实际结果: {'msg': '院系不存在', 'code': 500, 'data': None}
test_add_class_info_11 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1596 1597 1598 1599 1600
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1601 1602
            
                <tr>
Shishutong authored
1603
                    <td>47</td>
Shishutong authored
1604
                    <td class="Test02Class">Test02Class</td>
Shishutong authored
1605 1606
                    <td>test_add_class_info_12</td>
                    <td>院系下没有该专业</td>
Shishutong authored
1607
                    <td>0.286s</td>
Shishutong authored
1608
                    
Shishutong authored
1609
                        <td class="text-success">成功</td>
Shishutong authored
1610 1611
                    
                    <td>
Shishutong authored
1612
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1613 1614 1615 1616 1617
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1618
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1619 1620
                        
Shishutong authored
1621
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:19_12', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1522136888155148289', 'teacherId': '1608027781114228738', 'departmentId': '1519960538489131009'}
Shishutong authored
1622 1623 1624
预期结果: {'msg': '专业不存在', 'code': 500, 'data': None}
实际结果: {'msg': '专业不存在', 'code': 500, 'data': None}
test_add_class_info_12 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1625 1626 1627 1628 1629
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1630 1631
            
                <tr>
Shishutong authored
1632
                    <td>48</td>
Shishutong authored
1633
                    <td class="Test02Class">Test02Class</td>
Shishutong authored
1634 1635
                    <td>test_add_class_info_13</td>
                    <td>教师未填写,添加成功</td>
Shishutong authored
1636
                    <td>0.296s</td>
Shishutong authored
1637
                    
Shishutong authored
1638
                        <td class="text-success">成功</td>
Shishutong authored
1639 1640
                    
                    <td>
Shishutong authored
1641
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1642 1643 1644 1645 1646
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1647
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1648 1649
                        
Shishutong authored
1650
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:20_13', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '', 'departmentId': '1608027714126999553'}
Shishutong authored
1651 1652 1653
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_class_info_13 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1654 1655 1656 1657 1658
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1659 1660
            
                <tr>
Shishutong authored
1661
                    <td>49</td>
Shishutong authored
1662
                    <td class="Test02Class">Test02Class</td>
Shishutong authored
1663 1664
                    <td>test_add_class_info_14</td>
                    <td>教师填写错误</td>
Shishutong authored
1665
                    <td>0.287s</td>
Shishutong authored
1666
                    
Shishutong authored
1667
                        <td class="text-success">成功</td>
Shishutong authored
1668 1669
                    
                    <td>
Shishutong authored
1670
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1671 1672 1673 1674 1675
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1676
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1677 1678
                        
Shishutong authored
1679
                            <pre>用例入参:{'name': 'py自动化班级20221228_17:11:20_14', 'educationalSystem': '3', 'startSchoolYear': 2022, 'professionalId': '1608027727896899586', 'teacherId': '1607612806826909697', 'departmentId': '1608027714126999553'}
Shishutong authored
1680 1681 1682
预期结果: {'msg': '教师不存在', 'code': 500, 'data': None}
实际结果: {'msg': '教师不存在', 'code': 500, 'data': None}
test_add_class_info_14 (test_03_teaching_affairs.Test02Class)执行——>【通过】
Shishutong authored
1683 1684 1685
</pre>
                        
                        
Shishutong authored
1686 1687
                    </td>
                </tr>
Shishutong authored
1688 1689
            
                <tr>
Shishutong authored
1690 1691 1692 1693
                    <td>50</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_01</td>
                    <td>新增课程</td>
Shishutong authored
1694
                    <td>0.286s</td>
Shishutong authored
1695
                    
Shishutong authored
1696
                        <td class="text-success">成功</td>
Shishutong authored
1697 1698
                    
                    <td>
Shishutong authored
1699
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1700 1701
                    </td>
                </tr>
Shishutong authored
1702
Shishutong authored
1703
                <tr class="test_log">
Shishutong authored
1704
Shishutong authored
1705
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1706 1707
                        
Shishutong authored
1708
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:23_1', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '49'}
Shishutong authored
1709 1710 1711
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_course_info_01 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1712 1713 1714
</pre>
                        
                        
Shishutong authored
1715 1716
                    </td>
                </tr>
Shishutong authored
1717 1718
            
                <tr>
Shishutong authored
1719 1720 1721 1722
                    <td>51</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_02</td>
                    <td>课程名称不能为空</td>
Shishutong authored
1723
                    <td>0.274s</td>
Shishutong authored
1724
                    
Shishutong authored
1725
                        <td class="text-success">成功</td>
Shishutong authored
1726 1727
                    
                    <td>
Shishutong authored
1728
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1729 1730
                    </td>
                </tr>
Shishutong authored
1731
Shishutong authored
1732
                <tr class="test_log">
Shishutong authored
1733
Shishutong authored
1734
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1735 1736
                        
Shishutong authored
1737
                            <pre>用例入参:{'name': '', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '50'}
Shishutong authored
1738 1739 1740
预期结果: {'msg': '课程名称不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '课程名称不能为空', 'code': 500, 'data': None}
test_add_course_info_02 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1741 1742 1743
</pre>
                        
                        
Shishutong authored
1744 1745
                    </td>
                </tr>
Shishutong authored
1746 1747
            
                <tr>
Shishutong authored
1748 1749 1750 1751
                    <td>52</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_03</td>
                    <td>课程名称不能超过30字</td>
Shishutong authored
1752
                    <td>0.274s</td>
Shishutong authored
1753
                    
Shishutong authored
1754
                        <td class="text-success">成功</td>
Shishutong authored
1755 1756
                    
                    <td>
Shishutong authored
1757
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1758 1759
                    </td>
                </tr>
Shishutong authored
1760
Shishutong authored
1761 1762
                <tr class="test_log">
Shishutong authored
1763
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1764
                        
Shishutong authored
1765
Shishutong authored
1766
                            <pre>用例入参:{'name': '1234567890123456789012345678901', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '51'}
Shishutong authored
1767 1768 1769
预期结果: {'msg': '课程名称不能超过30字', 'code': 500, 'data': None}
实际结果: {'msg': '课程名称不能超过30字', 'code': 500, 'data': None}
test_add_course_info_03 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1770 1771 1772 1773 1774
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1775 1776
            
                <tr>
Shishutong authored
1777 1778 1779 1780
                    <td>53</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_04</td>
                    <td>实践类型不能为空</td>
Shishutong authored
1781
                    <td>0.271s</td>
Shishutong authored
1782
                    
Shishutong authored
1783
                        <td class="text-success">成功</td>
Shishutong authored
1784 1785
                    
                    <td>
Shishutong authored
1786
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1787 1788 1789 1790 1791
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1792
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1793 1794
                        
Shishutong authored
1795
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:23_4', 'practiceType': '', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '52'}
Shishutong authored
1796 1797 1798
预期结果: {'msg': '实践类型不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '实践类型不能为空', 'code': 500, 'data': None}
test_add_course_info_04 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1799 1800 1801 1802 1803
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1804 1805
            
                <tr>
Shishutong authored
1806 1807 1808 1809
                    <td>54</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_05</td>
                    <td>院系不能为空</td>
Shishutong authored
1810
                    <td>0.287s</td>
Shishutong authored
1811
                    
Shishutong authored
1812
                        <td class="text-success">成功</td>
Shishutong authored
1813 1814
                    
                    <td>
Shishutong authored
1815
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1816 1817
                    </td>
                </tr>
Shishutong authored
1818
Shishutong authored
1819
                <tr class="test_log">
Shishutong authored
1820
Shishutong authored
1821
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1822 1823
                        
Shishutong authored
1824
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:24_5', 'practiceType': 'know', 'departmentId': '', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '53'}
Shishutong authored
1825 1826 1827
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_course_info_05 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1828 1829 1830
</pre>
                        
                        
Shishutong authored
1831 1832
                    </td>
                </tr>
Shishutong authored
1833 1834
            
                <tr>
Shishutong authored
1835 1836 1837 1838
                    <td>55</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_06</td>
                    <td>院系不能为空</td>
Shishutong authored
1839
                    <td>0.327s</td>
Shishutong authored
1840
                    
Shishutong authored
1841
                        <td class="text-success">成功</td>
Shishutong authored
1842 1843
                    
                    <td>
Shishutong authored
1844
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1845 1846
                    </td>
                </tr>
Shishutong authored
1847
Shishutong authored
1848 1849
                <tr class="test_log">
Shishutong authored
1850
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1851 1852
                        
Shishutong authored
1853
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:24_6', 'practiceType': 'know', 'departmentId': '1519960228489131009', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '53'}
Shishutong authored
1854 1855 1856
预期结果: {'msg': '院系不存在', 'code': 500, 'data': None}
实际结果: {'msg': '院系不存在', 'code': 500, 'data': None}
test_add_course_info_06 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1857 1858
</pre>
                        
Shishutong authored
1859 1860 1861
                        
                    </td>
                </tr>
Shishutong authored
1862 1863
            
                <tr>
Shishutong authored
1864 1865 1866 1867
                    <td>56</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_07</td>
                    <td>学分不能为空</td>
Shishutong authored
1868
                    <td>0.282s</td>
Shishutong authored
1869
                    
Shishutong authored
1870
                        <td class="text-success">成功</td>
Shishutong authored
1871 1872
                    
                    <td>
Shishutong authored
1873
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1874 1875
                    </td>
                </tr>
Shishutong authored
1876
Shishutong authored
1877 1878
                <tr class="test_log">
Shishutong authored
1879
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1880 1881
                        
Shishutong authored
1882
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:24_7', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': '', 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '54'}
Shishutong authored
1883 1884 1885
预期结果: {'msg': '学分不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学分不能为空', 'code': 500, 'data': None}
test_add_course_info_07 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1886 1887
</pre>
                        
Shishutong authored
1888 1889 1890
                        
                    </td>
                </tr>
Shishutong authored
1891 1892
            
                <tr>
Shishutong authored
1893 1894 1895 1896
                    <td>57</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_08</td>
                    <td>修读性质不能为空</td>
Shishutong authored
1897
                    <td>0.26s</td>
Shishutong authored
1898
                    
Shishutong authored
1899
                        <td class="text-success">成功</td>
Shishutong authored
1900 1901
                    
                    <td>
Shishutong authored
1902
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1903 1904
                    </td>
                </tr>
Shishutong authored
1905
Shishutong authored
1906 1907
                <tr class="test_log">
Shishutong authored
1908
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1909 1910
                        
Shishutong authored
1911
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:25_8', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': '', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '55'}
Shishutong authored
1912 1913 1914
预期结果: {'msg': '修读性质不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '修读性质不能为空', 'code': 500, 'data': None}
test_add_course_info_08 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1915 1916
</pre>
                        
Shishutong authored
1917 1918 1919
                        
                    </td>
                </tr>
Shishutong authored
1920 1921
            
                <tr>
Shishutong authored
1922 1923 1924 1925
                    <td>58</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_09</td>
                    <td>修读性质填写错误</td>
Shishutong authored
1926
                    <td>0.286s</td>
Shishutong authored
1927
                    
Shishutong authored
1928
                        <td class="text-success">成功</td>
Shishutong authored
1929 1930
                    
                    <td>
Shishutong authored
1931
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1932 1933
                    </td>
                </tr>
Shishutong authored
1934
Shishutong authored
1935 1936
                <tr class="test_log">
Shishutong authored
1937
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1938
                        
Shishutong authored
1939
Shishutong authored
1940
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:25_9', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'iiielectiveiiiii', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '56'}
Shishutong authored
1941 1942 1943
预期结果: {'msg': '修读性质填写错误', 'code': 500, 'data': None}
实际结果: {'msg': '修读性质填写错误', 'code': 500, 'data': None}
test_add_course_info_09 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1944 1945 1946 1947 1948
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1949 1950
            
                <tr>
Shishutong authored
1951 1952 1953 1954
                    <td>59</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_10</td>
                    <td>学时(周数)不能为空</td>
Shishutong authored
1955
                    <td>0.278s</td>
Shishutong authored
1956
                    
Shishutong authored
1957
                        <td class="text-success">成功</td>
Shishutong authored
1958 1959
                    
                    <td>
Shishutong authored
1960
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1961 1962 1963 1964 1965
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1966
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1967 1968
                        
Shishutong authored
1969
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:25_10', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '', 'termIds': ['1608027766836817922'], 'professionalIds': ['1608027727896899586'], 'yearId': '57'}
Shishutong authored
1970 1971 1972
预期结果: {'msg': '学时不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学时不能为空', 'code': 500, 'data': None}
test_add_course_info_10 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
1973 1974 1975 1976 1977
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
1978 1979
            
                <tr>
Shishutong authored
1980 1981 1982 1983
                    <td>60</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_11</td>
                    <td>学期不能为空</td>
Shishutong authored
1984
                    <td>0.348s</td>
Shishutong authored
1985
                    
Shishutong authored
1986
                        <td class="text-success">成功</td>
Shishutong authored
1987 1988
                    
                    <td>
Shishutong authored
1989
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
1990 1991 1992 1993 1994
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
1995
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
1996 1997
                        
Shishutong authored
1998
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:25_11', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': [''], 'professionalIds': ['1608027727896899586'], 'yearId': '58'}
Shishutong authored
1999 2000 2001
预期结果: {'msg': '学期不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学期不能为空', 'code': 500, 'data': None}
test_add_course_info_11 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2002 2003 2004 2005 2006
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2007 2008
            
                <tr>
Shishutong authored
2009 2010 2011 2012
                    <td>61</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_12</td>
                    <td>专业不能为空</td>
Shishutong authored
2013
                    <td>0.274s</td>
Shishutong authored
2014
                    
Shishutong authored
2015
                        <td class="text-success">成功</td>
Shishutong authored
2016 2017
                    
                    <td>
Shishutong authored
2018
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2019 2020 2021 2022 2023
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2024
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2025 2026
                        
Shishutong authored
2027
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:26_12', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': [''], 'yearId': '59'}
Shishutong authored
2028 2029 2030
预期结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
实际结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
test_add_course_info_12 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2031 2032 2033 2034 2035
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2036 2037
            
                <tr>
Shishutong authored
2038 2039 2040 2041
                    <td>62</td>
                    <td class="Test03Course">Test03Course</td>
                    <td>test_add_course_info_13</td>
                    <td>专业填写错误</td>
Shishutong authored
2042
                    <td>0.276s</td>
Shishutong authored
2043
                    
Shishutong authored
2044
                        <td class="text-success">成功</td>
Shishutong authored
2045 2046
                    
                    <td>
Shishutong authored
2047
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2048 2049 2050 2051 2052
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2053
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2054 2055
                        
Shishutong authored
2056
                            <pre>用例入参:{'name': 'py自动化课程20221228_17:11:26_13', 'practiceType': 'know', 'departmentId': '1608027714126999553', 'credit': 3, 'property': 'elective', 'creditHour': '5', 'termIds': ['1608027766836817922'], 'professionalIds': ['1522136228155148289'], 'yearId': '60'}
Shishutong authored
2057 2058 2059
预期结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
实际结果: {'msg': '部分专业信息不存在', 'code': 500, 'data': None}
test_add_course_info_13 (test_03_teaching_affairs.Test03Course)执行——>【通过】
Shishutong authored
2060 2061 2062 2063 2064
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2065 2066
            
                <tr>
Shishutong authored
2067
                    <td>63</td>
Shishutong authored
2068
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2069 2070
                    <td>test_add_student_info_01</td>
                    <td>新增学生成功</td>
Shishutong authored
2071
                    <td>0.556s</td>
Shishutong authored
2072
                    
Shishutong authored
2073
                        <td class="text-success">成功</td>
Shishutong authored
2074 2075
                    
                    <td>
Shishutong authored
2076
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2077 2078 2079 2080 2081
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2082
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2083 2084
                        
Shishutong authored
2085
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:30_1', 'number': '20221228_17:11:30_1', 'phone': '13329499395', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '45010120160527110X', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13330786774', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2086
预期结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
2087 2088
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_01 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2089 2090 2091 2092 2093
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2094 2095
            
                <tr>
Shishutong authored
2096
                    <td>64</td>
Shishutong authored
2097
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2098 2099
                    <td>test_add_student_info_02</td>
                    <td>学生姓名未填写失败</td>
Shishutong authored
2100
                    <td>0.259s</td>
Shishutong authored
2101
                    
Shishutong authored
2102
                        <td class="text-success">成功</td>
Shishutong authored
2103 2104
                    
                    <td>
Shishutong authored
2105
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2106 2107 2108 2109 2110
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2111
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2112 2113
                        
Shishutong authored
2114
                            <pre>用例入参:{'name': '', 'number': '20221228_17:11:30_2', 'phone': '13615155672', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '310101196211061471', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15597213692', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2115 2116 2117
预期结果: {'msg': '姓名不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '姓名不能为空', 'code': 500, 'data': None}
test_add_student_info_02 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2118 2119
</pre>
                        
Shishutong authored
2120 2121 2122
                        
                    </td>
                </tr>
Shishutong authored
2123 2124
            
                <tr>
Shishutong authored
2125 2126 2127 2128
                    <td>65</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_03</td>
                    <td>学生学号未填写失败</td>
Shishutong authored
2129
                    <td>0.277s</td>
Shishutong authored
2130
                    
Shishutong authored
2131
                        <td class="text-success">成功</td>
Shishutong authored
2132 2133
                    
                    <td>
Shishutong authored
2134
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2135 2136
                    </td>
                </tr>
Shishutong authored
2137
Shishutong authored
2138 2139
                <tr class="test_log">
Shishutong authored
2140
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2141 2142
                        
Shishutong authored
2143
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:31_3', 'number': '', 'phone': '13360425625', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '21010119640422064X', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13642451924', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2144 2145 2146
预期结果: {'msg': '学生学号不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '学生学号不能为空', 'code': 500, 'data': None}
test_add_student_info_03 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2147 2148
</pre>
                        
Shishutong authored
2149 2150 2151
                        
                    </td>
                </tr>
Shishutong authored
2152 2153
            
                <tr>
Shishutong authored
2154 2155 2156 2157
                    <td>66</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_04</td>
                    <td>手机号未填写,添加成功</td>
Shishutong authored
2158
                    <td>0.343s</td>
Shishutong authored
2159
                    
Shishutong authored
2160
                        <td class="text-success">成功</td>
Shishutong authored
2161 2162
                    
                    <td>
Shishutong authored
2163
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2164 2165
                    </td>
                </tr>
Shishutong authored
2166
Shishutong authored
2167 2168
                <tr class="test_log">
Shishutong authored
2169
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2170 2171
                        
Shishutong authored
2172
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:31_4', 'number': '20221228_17:11:31_4', 'phone': '', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '420101196008161341', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13340184514', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2173 2174 2175
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_04 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2176 2177
</pre>
                        
Shishutong authored
2178 2179 2180
                        
                    </td>
                </tr>
Shishutong authored
2181 2182
            
                <tr>
Shishutong authored
2183 2184 2185 2186
                    <td>67</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_05</td>
                    <td>入学年份未填写,添加失败</td>
Shishutong authored
2187
                    <td>0.253s</td>
Shishutong authored
2188
                    
Shishutong authored
2189
                        <td class="text-success">成功</td>
Shishutong authored
2190 2191
                    
                    <td>
Shishutong authored
2192
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2193 2194 2195 2196
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2197
Shishutong authored
2198
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2199 2200
                        
Shishutong authored
2201
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:31_5', 'number': '20221228_17:11:31_5', 'phone': '17306355573', 'startSchoolYear': '', 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '420101200908130697', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13682871112', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2202 2203 2204
预期结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '入学年份不能为空', 'code': 500, 'data': None}
test_add_student_info_05 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2205 2206 2207
</pre>
                        
                        
Shishutong authored
2208 2209
                    </td>
                </tr>
Shishutong authored
2210 2211
            
                <tr>
Shishutong authored
2212 2213 2214 2215
                    <td>68</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_06</td>
                    <td>班级未填写,添加失败</td>
Shishutong authored
2216
                    <td>0.281s</td>
Shishutong authored
2217
                    
Shishutong authored
2218
                        <td class="text-success">成功</td>
Shishutong authored
2219 2220
                    
                    <td>
Shishutong authored
2221
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2222 2223
                    </td>
                </tr>
Shishutong authored
2224
Shishutong authored
2225 2226
                <tr class="test_log">
Shishutong authored
2227
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2228 2229
                        
Shishutong authored
2230
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:31_6', 'number': '20221228_17:11:31_6', 'phone': '17319443418', 'startSchoolYear': 2022, 'classInfoId': '', 'idType': 'identity_card', 'idNumber': '110101197112090389', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13379373887', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2231 2232 2233
预期结果: {'msg': '班级不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '班级不能为空', 'code': 500, 'data': None}
test_add_student_info_06 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2234 2235
</pre>
                        
Shishutong authored
2236 2237 2238
                        
                    </td>
                </tr>
Shishutong authored
2239 2240
            
                <tr>
Shishutong authored
2241 2242 2243 2244
                    <td>69</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_07</td>
                    <td>证件类型和证件号码都没填写,添加成功</td>
Shishutong authored
2245
                    <td>0.352s</td>
Shishutong authored
2246
                    
Shishutong authored
2247
                        <td class="text-success">成功</td>
Shishutong authored
2248 2249
                    
                    <td>
Shishutong authored
2250
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2251 2252
                    </td>
                </tr>
Shishutong authored
2253
Shishutong authored
2254 2255
                <tr class="test_log">
Shishutong authored
2256
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2257
                        
Shishutong authored
2258
Shishutong authored
2259
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:32_7', 'number': '20221228_17:11:32_7', 'phone': '13663008918', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': '', 'idNumber': '', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '17312464244', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2260 2261 2262
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_07 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2263 2264 2265 2266 2267
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2268 2269
            
                <tr>
Shishutong authored
2270
                    <td>70</td>
Shishutong authored
2271
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2272 2273
                    <td>test_add_student_info_08</td>
                    <td>证件类型未填,证件号码填写,添加失败</td>
Shishutong authored
2274
                    <td>0.315s</td>
Shishutong authored
2275
                    
Shishutong authored
2276
                        <td class="text-success">成功</td>
Shishutong authored
2277 2278
                    
                    <td>
Shishutong authored
2279
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2280 2281 2282 2283 2284
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2285
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2286 2287
                        
Shishutong authored
2288
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:32_8', 'number': '20221228_17:11:32_8', 'phone': '13609931391', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': '', 'idNumber': '430101197201080208', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13366411689', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2289 2290 2291
预期结果: {'msg': '证件类型未填,证件号码填写', 'code': 500, 'data': None}
实际结果: {'msg': '证件类型未填,证件号码填写', 'code': 500, 'data': None}
test_add_student_info_08 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2292 2293 2294 2295 2296
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2297 2298
            
                <tr>
Shishutong authored
2299
                    <td>71</td>
Shishutong authored
2300
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2301 2302
                    <td>test_add_student_info_09</td>
                    <td>证件类型填写,证件号码未填写,添加失败</td>
Shishutong authored
2303
                    <td>0.272s</td>
Shishutong authored
2304
                    
Shishutong authored
2305
                        <td class="text-success">成功</td>
Shishutong authored
2306 2307
                    
                    <td>
Shishutong authored
2308
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2309 2310 2311 2312 2313
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2314
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2315 2316
                        
Shishutong authored
2317
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:32_9', 'number': '20221228_17:11:32_9', 'phone': '15565687492', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13399820413', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2318 2319 2320
预期结果: {'msg': '证件类型填写,证件号码未填写', 'code': 500, 'data': None}
实际结果: {'msg': '证件类型填写,证件号码未填写', 'code': 500, 'data': None}
test_add_student_info_09 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2321 2322 2323 2324 2325
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2326 2327
            
                <tr>
Shishutong authored
2328
                    <td>72</td>
Shishutong authored
2329
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2330 2331
                    <td>test_add_student_info_10</td>
                    <td>性别未填写,添加成功</td>
Shishutong authored
2332
                    <td>0.418s</td>
Shishutong authored
2333
                    
Shishutong authored
2334
                        <td class="text-success">成功</td>
Shishutong authored
2335 2336
                    
                    <td>
Shishutong authored
2337
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2338 2339 2340 2341 2342
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2343
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2344 2345
                        
Shishutong authored
2346
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:33_10', 'number': '20221228_17:11:33_10', 'phone': '13353219932', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '610101201703051303', 'gender': '', 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15556909419', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2347 2348
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
2349
test_add_student_info_10 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2350 2351 2352 2353 2354
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2355 2356
            
                <tr>
Shishutong authored
2357
                    <td>73</td>
Shishutong authored
2358
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2359 2360
                    <td>test_add_student_info_11</td>
                    <td>学籍状态未填写,添加成功</td>
Shishutong authored
2361
                    <td>0.363s</td>
Shishutong authored
2362
                    
Shishutong authored
2363
                        <td class="text-success">成功</td>
Shishutong authored
2364 2365
                    
                    <td>
Shishutong authored
2366
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2367 2368 2369 2370 2371
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2372
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2373 2374
                        
Shishutong authored
2375
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:33_11', 'number': '20221228_17:11:33_11', 'phone': '13352948970', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '210101194708020410', 'gender': 0, 'schoolCensusStatus': '', 'trainingOrientation': 'secondary', 'other': '13339141189', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2376 2377
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
2378
test_add_student_info_11 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2379 2380 2381 2382 2383
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2384 2385
            
                <tr>
Shishutong authored
2386
                    <td>74</td>
Shishutong authored
2387
                    <td class="Test04Student">Test04Student</td>
Shishutong authored
2388 2389
                    <td>test_add_student_info_12</td>
                    <td>培养方向未填写,添加成功</td>
Shishutong authored
2390
                    <td>0.363s</td>
Shishutong authored
2391
                    
Shishutong authored
2392
                        <td class="text-success">成功</td>
Shishutong authored
2393 2394
                    
                    <td>
Shishutong authored
2395
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2396 2397 2398 2399 2400
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2401
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2402 2403
                        
Shishutong authored
2404
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:33_12', 'number': '20221228_17:11:33_12', 'phone': '15554530400', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '630101200912200554', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': '', 'other': '13658597231', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2405
预期结果: {'msg': 'success', 'code': 200, 'data': True}
Shishutong authored
2406 2407
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_12 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2408 2409 2410 2411 2412
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2413 2414
            
                <tr>
Shishutong authored
2415 2416 2417 2418
                    <td>75</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_13</td>
                    <td>其他-备注未填写,添加成功</td>
Shishutong authored
2419
                    <td>0.322s</td>
Shishutong authored
2420
                    
Shishutong authored
2421
                        <td class="text-success">成功</td>
Shishutong authored
2422 2423
                    
                    <td>
Shishutong authored
2424
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2425 2426 2427 2428 2429
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2430
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2431 2432
                        
Shishutong authored
2433
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:34_13', 'number': '20221228_17:11:34_13', 'phone': '15555364779', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '310101200010240309', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '', 'departmentId': '1608027714126999553', 'professionalId': '1608027727896899586'}
Shishutong authored
2434 2435 2436 2437 2438 2439 2440 2441
预期结果: {'msg': 'success', 'code': 200, 'data': True}
实际结果: {'msg': 'success', 'code': 200, 'data': True}
test_add_student_info_13 (test_03_teaching_affairs.Test04Student)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2442 2443
            
                <tr>
Shishutong authored
2444 2445 2446 2447
                    <td>76</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_14</td>
                    <td>院系ID未填写,添加失败</td>
Shishutong authored
2448
                    <td>0.278s</td>
Shishutong authored
2449
                    
Shishutong authored
2450
                        <td class="text-success">成功</td>
Shishutong authored
2451 2452
                    
                    <td>
Shishutong authored
2453
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2454 2455 2456 2457 2458
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2459
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2460 2461
                        
Shishutong authored
2462
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:34_14', 'number': '20221228_17:11:34_14', 'phone': '15500082535', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '120101197602211085', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '15555733546', 'departmentId': '', 'professionalId': '1608027727896899586'}
Shishutong authored
2463 2464 2465 2466 2467 2468 2469 2470
预期结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '院系不能为空', 'code': 500, 'data': None}
test_add_student_info_14 (test_03_teaching_affairs.Test04Student)执行——>【通过】
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2471 2472
            
                <tr>
Shishutong authored
2473 2474 2475 2476
                    <td>77</td>
                    <td class="Test04Student">Test04Student</td>
                    <td>test_add_student_info_15</td>
                    <td>专业ID未填写添加失败</td>
Shishutong authored
2477
                    <td>0.317s</td>
Shishutong authored
2478
                    
Shishutong authored
2479
                        <td class="text-success">成功</td>
Shishutong authored
2480 2481
                    
                    <td>
Shishutong authored
2482
                        <button type="button" class="btn btn-success btn_info">查看详情</button>
Shishutong authored
2483 2484 2485 2486 2487
                    </td>
                </tr>

                <tr class="test_log">
Shishutong authored
2488
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all">
Shishutong authored
2489 2490
                        
Shishutong authored
2491
                            <pre>用例入参:{'name': 'py自动化学生20221228_17:11:34_15', 'number': '20221228_17:11:34_15', 'phone': '15551474734', 'startSchoolYear': 2022, 'classInfoId': '1608027809304145921', 'idType': 'identity_card', 'idNumber': '420101196202141985', 'gender': 0, 'schoolCensusStatus': 'not_duty', 'trainingOrientation': 'secondary', 'other': '13645800868', 'departmentId': '1608027714126999553', 'professionalId': ''}
Shishutong authored
2492 2493 2494
预期结果: {'msg': '专业不能为空', 'code': 500, 'data': None}
实际结果: {'msg': '专业不能为空', 'code': 500, 'data': None}
test_add_student_info_15 (test_03_teaching_affairs.Test04Student)执行——>【通过】
Shishutong authored
2495 2496 2497 2498 2499
</pre>
                        
                        
                    </td>
                </tr>
Shishutong authored
2500
            
Shishutong authored
2501
Shishutong authored
2502 2503
            </tbody>
        </table>
Shishutong authored
2504 2505
    </div>
Shishutong authored
2506
    <div style="height: 200px"></div>
Shishutong authored
2507 2508 2509 2510
</div>


<script>
Shishutong authored
2511
    var tbodyTr = $('tbody tr');
Shishutong authored
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541
    var testResult = $("#testResult");
    var testClass = $("#testClass");
    <!--    用例执行详细信息显示切换-->
    $(".btn_info").click(function () {
        $(this).parent().parent().next().toggle();

    });
    // 当选择用例类之后触发
    testClass.change(function () {
        var cls = $(this).val();
        var res = testResult.val();
        elementDisplay(cls, res);
        sort()
    });
    testResult.change(function () {
        var res = $(this).val();
        var cls = testClass.val();
        elementDisplay(cls, res);
        sort()
    });

    function elementDisplay(cls, res) {
        // 用例数据的显示
        if (cls === "所有") {
            if (res === "所有") {
                tbodyTr.has('button').show();
            } else if (res === '成功') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-success').show()
Shishutong authored
2542 2543 2544 2545
            } else if (res === '失败') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-warning').show()
Shishutong authored
2546 2547 2548 2549
            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-danger').show()
Shishutong authored
2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560
            } 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()
Shishutong authored
2561 2562 2563
            } else if (res === '失败') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-warning').show()
Shishutong authored
2564 2565 2566
            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-danger').show()
Shishutong authored
2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588
            } 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
2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667
<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: 77, name: '通过'},
                    {value: 0, name: '失败'},
                    {value: 0, name: '错误'},
                    {value: 0, name: '跳过'}
                ]
            }
        ]
    };
    option2 = {
        tooltip: {
            formatter: '{a} <br/>{b} : {c}%'
        },
        toolbox: {
            feature: {
                restore: {},
                saveAsImage: {}
            }
        },
        series: [
            {
                name: '测试结果',
                type: 'gauge',
                detail: {formatter: '100.00%'},
                data: [{value: '100.00', name: '用例通过率'}],
                axisLine: {
                    lineStyle: {
                        color: [
                            [0.2, '#c20000'],
                            [0.8, '#ddb518'],
                            [1, '#00a10a']]
                    }
                }
            }
        ]
    };


    myChart2.setOption(option2);
    // 使用刚指定的配置项和数据显示图表。
    myChart.setOption(option);
</script>
Shishutong authored
2668 2669 2670

</body>
</html>