def section(self, label, name, nl=True): if name: line = "\n{label}: {name}".format(label=label.upper(),name=name) line += '\n' if nl else '' color_print(line,fore=WHITE.bold()) elif nl: print
def log_test(self, label, results): line = "{label}: {name}".format(label=label,name=results.name) color_print(line,fore=WHITE.bold()) if results: Printer._print_status(results) Printer._print_results(results) else: Printer._print_no_asserts() print
def title(self, title): color_print("\n\n{0}".format(title.upper()),fore=WHITE.bold())