def ListCronJobApprovals(self, requestor=None): requestor = requestor or self.token.username handler = api_user.ApiListCronJobApprovalsHandler() return handler.Handle( api_user.ApiListCronJobApprovalsArgs(), token=access_control.ACLToken(username=requestor)).items
def setUp(self): super(ApiListCronJobApprovalsHandlerTest, self).setUp() self.handler = user_plugin.ApiListCronJobApprovalsHandler()
def ListCronJobApprovals(self, args, token=None): return api_user.ApiListCronJobApprovalsHandler()