add unit test: set response attribute to json data

This commit is contained in:
httprunner
2018-07-30 15:47:43 +08:00
parent a6478dabe8
commit 95809c635d

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]}
]
}