def success(request, message):
 add_message(get_request(request), constants.SUCCESS, message)

def success ( request , message ) : add_message ( get_request ( request ) , constants . SUCCESS , message )
test if task result yields success .