增加#430修复代码测试案例

This commit is contained in:
fengyu
2019-11-05 19:08:07 +08:00
parent d5457c040a
commit d513713ecf
3 changed files with 43 additions and 4 deletions

View File

@@ -127,6 +127,15 @@ def alter_response(response):
"key": 123
}
def alter_response_302(response):
response.status_code = 500
response.headers["Content-Type"] = "html/text"
response.text = "abcdef"
response.new_attribute = "new_attribute_value"
response.new_attribute_dict = {
"key": 123
}
def alter_response_error(response):
# NameError