functions

nornir_tests.plugins.functions.print_result(result: nornir.core.task.Result, vars: List[str] = None, failed: bool = False, severity_level: int = 20) → None

Prints an object of type nornir.core.task.Result

Parameters
  • result – from a previous task

  • vars – Which attributes you want to print

  • failed – if True assume the task failed

  • severity_level – Print only errors with this severity level or higher