从 Response 中解析 JSON,便于断言。
(resp)
| 66 | # --------------------------------------------------------------------------- |
| 67 | |
| 68 | def _json(resp): |
| 69 | """从 Response 中解析 JSON,便于断言。""" |
| 70 | return json.loads(resp.data.decode("utf-8")) |
| 71 | |
| 72 | |
| 73 | # --------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected