add unit test: set response attribute to json data

This commit is contained in:
debugtalk
2018-07-30 15:47:43 +08:00
parent cc60f2bf20
commit fd0d37c3c9

View File

@@ -187,6 +187,7 @@ class TestRunner(ApiServerUnittest):
{"eq": ["content.headers.Host", "127.0.0.1:8888"]},
{"eq": ["text.headers.Host", "127.0.0.1:8888"]},
{"eq": ["new_attribute", "new_attribute_value"]},
{"eq": ["new_attribute_dict", {"key": 123}]},
{"eq": ["new_attribute_dict.key", 123]}
]
}