INFO     log:log_util.py:73 --------接口测试开始--------
INFO     log:log_util.py:73 yaml框架检查基本通过
ERROR    log:log_util.py:67 发送请求send_request异常：Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
    kwargs[key] = self.replace_value(value)
  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
    new_index = getattr(DubugTalk(), function_name)(*args_value2)
  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
    return read_yaml(key)
  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
    return value[key]
TypeError: 'NoneType' object is not subscriptable

ERROR    log:log_util.py:67 规范yaml文件standard_yaml异常：Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
    kwargs[key] = self.replace_value(value)
  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
    new_index = getattr(DubugTalk(), function_name)(*args_value2)
  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
    return read_yaml(key)
  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
    return value[key]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 112, in standard_yaml
    res = self.send_request(name, method, url, **arg_names['request'])
  File "D:\zdh\pythonProject\common\request_util.py", line 55, in send_request
    error_log("发送请求send_request异常：%s" % str(traceback.format_exc()))
  File "D:\zdh\pythonProject\common\log_util.py", line 68, in error_log
    raise Exception(message)
Exception: 发送请求send_request异常：Traceback (most recent call last):
  File "D:\zdh\pythonProject\common\request_util.py", line 29, in send_request
    kwargs[key] = self.replace_value(value)
  File "D:\zdh\pythonProject\common\request_util.py", line 82, in replace_value
    new_index = getattr(DubugTalk(), function_name)(*args_value2)
  File "D:\zdh\pythonProject\random1111.py", line 20, in read_yaml
    return read_yaml(key)
  File "D:\zdh\pythonProject\common\yaml_util.py", line 16, in read_yaml
    return value[key]
TypeError: 'NoneType' object is not subscriptable