def test__do_revoke_failure_w_json_error_and_store(self):
response = http_mock.ResponseMock({'status': http_client.BAD_GATEWAY})
error_msg = 'Where are we going wearer?'
content = json.dumps({'error': error_msg})
store = mock.Mock()
self._do_revoke_test_helper(response, content, error_msg,
store=store)
评论列表
文章目录