def handle_response(self, resp, *args): self.conv.events.store(EV_PROTOCOL_RESPONSE, message.AuthorizationResponse(**resp))
def mockParseResponse(self, response_class, info, sformat): response = message.AuthorizationResponse() response.from_dict(ARESP) return response