original_docstring: 
      Run a resilient app function in unit test environment.
  
      Properly raise exceptions if needed and return the results object.
      :param func:
      :param args:
      :return:
      
docstring: Run a resilient app function in unit test environment.
  Properly raise exceptions if needed and return the results object.
docstring_tokens: Run a resilient app function in unit test environment . Properly raise exceptions if needed and return the results object .
code: def run_resilient_function(func, *args):
      """
      Run a resilient app function in unit test environment.
  
      Properly raise exceptions if needed and return the results object.
      :param func:
      :param args:
      :return:
      """
      for message in func(*args):
          if type(message) is FunctionException_:
              raise message
          elif type(message) is FunctionResult:
              return message.value
code_tokens: def run_resilient_function ( func , * args ) : for message in func ( * args ) : if type ( message ) is FunctionException_ : raise message elif type ( message ) is FunctionResult : return message . value
short_docstring: Run a resilient app function in unit test environment.
short_docstring_tokens: Run a resilient app function in unit test environment .
comment: """
      Run a resilient app function in unit test environment.
  
      Properly raise exceptions if needed and return the results object.
      :param func:
      :param args:
      :return:
      """