def test__do_retrieve_scopes_failure_w_json_error(self):
response = http_mock.ResponseMock({'status': http_client.BAD_GATEWAY})
error_msg = 'Error desc I sit at a desk'
content = json.dumps({'error_description': error_msg})
self._do_retrieve_scopes_test_helper(response, content, error_msg)
评论列表
文章目录