INFO     log:log_util.py:73 --------接口测试开始--------
INFO     log:log_util.py:73 yaml框架检查基本通过
INFO     log:log_util.py:73 请求名称：登录成功
INFO     log:log_util.py:73 请求方式：post
INFO     log:log_util.py:73 请求路径：http://221.229.99.73:63220/api/service-sysmgr/LoginController/login
INFO     log:log_util.py:73 请求json参数：{'captcha': 'youthcq', 'captchaKey': 'wwohetlyfcuswjcxeyglkpxl', 'password': '5856464E5731466E547A4D794D6C2B42334973312B784D3561584E4264726F487532746F37664C6F70326F47752B6F585043426543704356777A59717065774A6F423439385659426F6668716D496C75484A344F54416764676668596F6478554C6365643255793742736B56714B6271644858777675724F6D3959794667356D455071796C7858776D586D72672B344F4A57654249677779546631612B6E4B724E334C6B4B695A336A574D3D', 'scope': 'WEB', 'username': '17723565637'}
INFO     log:log_util.py:73 实际结果: <Response [200]>
INFO     log:log_util.py:73 预期结果：[{'contains': True}]
INFO     log:log_util.py:73 实际结果：{'success': False, 'code': '-1', 'msg': '验证码错误！', 'data': None}
ERROR    log:log_util.py:67 断言失败：返回结果中不包含True
INFO     log:log_util.py:73 接口测试失败!!!
INFO     log:log_util.py:73 ------接口测试结束————————
ERROR    log:log_util.py:67 断言assert_result异常：Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
    error_log("断言失败：返回结果中不包含" + str(value))
  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
    raise Exception(message)
Exception: 断言失败：返回结果中不包含True

ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常：Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
    error_log("断言失败：返回结果中不包含" + str(value))
  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
    raise Exception(message)
Exception: 断言失败：返回结果中不包含True

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 148, in standard_yaml
    self.assert_result(arg_names['validate'], return_json, return_code)
  File "D:\zdh\pythonProject\common\request_util.py", line 183, in assert_result
    error_log("断言assert_result异常：%s" % str(traceback.format_exc()))
  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
    raise Exception(message)
Exception: 断言assert_result异常：Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 170, in assert_result
    self.assert_contains(value, json.loads(json.dumps(sj_result).replace(r"\\", "\\")))
  File "D:\zdh\pythonProject\common\request_util.py", line 204, in assert_contains
    error_log("断言失败：返回结果中不包含" + str(value))
  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
    raise Exception(message)
Exception: 断言失败：返回结果中不包含True