Beispiel #1
0
 def _print_result(result):
     if result.result is None:
         color_print(result,fore=BLUE.bold())
     elif result.result:
         color_print(result,fore=GREEN.bold())
     else:
         color_print(result,fore=RED.bold())
Beispiel #2
0
 def _print_status(results):
     status = results.get_status()
     if status is None:
         color_print("ERROR",back=BLUE.bold())
     elif status:
         color_print("PASSED",back=GREEN.bold())
     else:
         color_print("FAILED",back=RED.bold())