log.log.2022-12-24 12.4 KB
2022-12-24 17:36:34,624 - [test_03_teaching_affairs.py-->line:120] - INFO: 用例新增教师,执行通过
2022-12-24 17:36:34,904 - [test_03_teaching_affairs.py-->line:120] - INFO: 用例教师姓名不能为空,执行通过
2022-12-24 17:36:35,180 - [test_03_teaching_affairs.py-->line:120] - INFO: 用例教师手机号不能为空,执行通过
2022-12-24 19:27:25,876 - [test_03_teaching_affairs.py-->line:194] - ERROR: 用例标题新增班级,不通过
2022-12-24 19:27:25,877 - [test_03_teaching_affairs.py-->line:195] - ERROR: 'success' != 'JSON parse error: Cannot deserialize valu[421 chars]d"])'
- success
+ JSON parse error: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value
 at [Source: (PushbackInputStream); line: 1, column: 134] (through reference chain: com.workai.yxly.basic.model.entity.ClassInfo["professionalId"])
Traceback (most recent call last):
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 189, in test_add_class_info
    self.assertEqual(expected['msg'], res['msg'])
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/teamcity/diff_tools.py", line 32, in _patched_equals
    old(self, first, second, msg)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail
    raise self.failureException(msg)
AssertionError: 'success' != 'JSON parse error: Cannot deserialize valu[421 chars]d"])'
- success
+ JSON parse error: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value
 at [Source: (PushbackInputStream); line: 1, column: 134] (through reference chain: com.workai.yxly.basic.model.entity.ClassInfo["professionalId"])

2022-12-24 19:29:47,077 - [test_03_teaching_affairs.py-->line:202] - INFO: 用例新增班级,执行通过
2022-12-24 20:04:37,104 - [test_03_teaching_affairs.py-->line:202] - INFO: 用例新增班级,执行通过
2022-12-24 20:05:43,541 - [test_03_teaching_affairs.py-->line:202] - INFO: 用例新增班级,执行通过
2022-12-24 20:05:46,494 - [test_03_teaching_affairs.py-->line:291] - INFO: 用例新增课程,执行通过
2022-12-24 20:26:31,621 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例新增教师,执行通过
2022-12-24 20:26:31,922 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师姓名不能为空,执行通过
2022-12-24 20:26:32,202 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师手机号不能为空,执行通过
2022-12-24 20:26:35,329 - [test_03_teaching_affairs.py-->line:201] - INFO: 用例新增班级,执行通过
2022-12-24 20:26:38,285 - [test_03_teaching_affairs.py-->line:290] - INFO: 用例新增课程,执行通过
2022-12-24 20:29:36,541 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过
2022-12-24 20:29:36,793 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过
2022-12-24 20:29:37,018 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过
2022-12-24 20:29:37,345 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过
2022-12-24 20:29:37,602 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过
2022-12-24 20:29:38,536 - [test_02_system_management.py-->line:98] - INFO: 用例新增院系成功,执行通过
2022-12-24 20:29:38,838 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称未填写,执行通过
2022-12-24 20:29:39,137 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称重复,执行通过
2022-12-24 20:29:39,430 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称长度不可大于30位,执行通过
2022-12-24 20:29:39,720 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码不能为空,执行通过
2022-12-24 20:29:40,002 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码长度不可大于30,执行通过
2022-12-24 20:29:40,334 - [test_02_system_management.py-->line:138] - INFO: 用例查看院系列表,执行通过
2022-12-24 20:29:41,850 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业成功,执行通过
2022-12-24 20:29:42,812 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系未填写,执行通过
2022-12-24 20:29:43,785 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系不存在,执行通过
2022-12-24 20:29:44,698 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称未填写,执行通过
2022-12-24 20:29:45,621 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称长度不能大于30,执行通过
2022-12-24 20:29:46,534 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称重复,执行通过
2022-12-24 20:29:47,559 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码未填写,执行通过
2022-12-24 20:29:48,587 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过
2022-12-24 20:29:49,639 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类未填写,执行通过
2022-12-24 20:29:50,566 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类填写错误,执行通过
2022-12-24 20:29:51,423 - [test_02_system_management.py-->line:278] - INFO: 用例新增学年学期成功,执行通过
2022-12-24 20:29:51,762 - [test_02_system_management.py-->line:278] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过
2022-12-24 20:29:52,060 - [test_02_system_management.py-->line:278] - INFO: 用例学年未填写,执行通过
2022-12-24 20:29:52,349 - [test_02_system_management.py-->line:278] - INFO: 用例学期未填写,执行通过
2022-12-24 20:29:52,663 - [test_02_system_management.py-->line:278] - INFO: 用例学期开始时间未填写,执行通过
2022-12-24 20:29:52,999 - [test_02_system_management.py-->line:278] - INFO: 用例学期结束时间未填写,执行通过
2022-12-24 20:29:54,261 - [test_03_teaching_affairs.py-->line:105] - ERROR: 用例标题新增教师,不通过
2022-12-24 20:29:54,261 - [test_03_teaching_affairs.py-->line:106] - ERROR: 'success' != '该身份证号不合法,请确认'
- success
+ 该身份证号不合法,请确认
Traceback (most recent call last):
  File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 100, in test_add_teacher_info
    self.assertEqual(expected['msg'], res['msg'])
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail
    raise self.failureException(msg)
AssertionError: 'success' != '该身份证号不合法,请确认'
- success
+ 该身份证号不合法,请确认

2022-12-24 20:29:54,542 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师姓名不能为空,执行通过
2022-12-24 20:29:54,831 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师手机号不能为空,执行通过
2022-12-24 20:29:57,987 - [test_03_teaching_affairs.py-->line:201] - INFO: 用例新增班级,执行通过
2022-12-24 20:30:01,007 - [test_03_teaching_affairs.py-->line:290] - INFO: 用例新增课程,执行通过
2022-12-24 20:30:37,186 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过
2022-12-24 20:30:37,453 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过
2022-12-24 20:30:37,692 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过
2022-12-24 20:30:38,048 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过
2022-12-24 20:30:38,290 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过
2022-12-24 20:30:39,078 - [test_02_system_management.py-->line:98] - INFO: 用例新增院系成功,执行通过
2022-12-24 20:30:39,384 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称未填写,执行通过
2022-12-24 20:30:39,659 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称重复,执行通过
2022-12-24 20:30:39,956 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称长度不可大于30位,执行通过
2022-12-24 20:30:40,252 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码不能为空,执行通过
2022-12-24 20:30:40,545 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码长度不可大于30,执行通过
2022-12-24 20:30:40,878 - [test_02_system_management.py-->line:138] - INFO: 用例查看院系列表,执行通过
2022-12-24 20:30:42,365 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业成功,执行通过
2022-12-24 20:30:43,304 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系未填写,执行通过
2022-12-24 20:30:44,332 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系不存在,执行通过
2022-12-24 20:30:45,349 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称未填写,执行通过
2022-12-24 20:30:46,409 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称长度不能大于30,执行通过
2022-12-24 20:30:47,368 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称重复,执行通过
2022-12-24 20:30:48,327 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码未填写,执行通过
2022-12-24 20:30:49,245 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过
2022-12-24 20:30:50,265 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类未填写,执行通过
2022-12-24 20:30:51,261 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类填写错误,执行通过
2022-12-24 20:30:51,998 - [test_02_system_management.py-->line:278] - INFO: 用例新增学年学期成功,执行通过
2022-12-24 20:30:52,305 - [test_02_system_management.py-->line:278] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过
2022-12-24 20:30:52,588 - [test_02_system_management.py-->line:278] - INFO: 用例学年未填写,执行通过
2022-12-24 20:30:52,911 - [test_02_system_management.py-->line:278] - INFO: 用例学期未填写,执行通过
2022-12-24 20:30:53,205 - [test_02_system_management.py-->line:278] - INFO: 用例学期开始时间未填写,执行通过
2022-12-24 20:30:53,494 - [test_02_system_management.py-->line:278] - INFO: 用例学期结束时间未填写,执行通过
2022-12-24 20:30:55,091 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例新增教师,执行通过
2022-12-24 20:30:55,371 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师姓名不能为空,执行通过
2022-12-24 20:30:55,670 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师手机号不能为空,执行通过
2022-12-24 20:30:58,660 - [test_03_teaching_affairs.py-->line:201] - INFO: 用例新增班级,执行通过
2022-12-24 20:31:01,654 - [test_03_teaching_affairs.py-->line:290] - INFO: 用例新增课程,执行通过