commit | be86aec05d7f21b929a45ddcab73269791c90153 | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Tue Feb 25 16:56:51 2020 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Wed Feb 26 08:34:24 2020 +0800 |
tree | ba539e681aa6dd1b11d3e0e35de0e99a5c0e557a | |
parent | 2844774bb2dff0273c587982015a3dbfe2adf7fb [diff] |
Change bytes to str in servers_client for python3 In python3, the response body of clients will be of type bytes, but jsonschema.validate expects parameter of type str, so we need change bytes to str when needed, otherwise we will get errors like "HTTP response body is invalid (b'' is not of type 'object', 'string'" Change-Id: If4cad1b0f706aeb5f83931cb6928806a2c5cee8e Closes-Bug: #1864625