Esempio n. 1
0
File: bash.py Progetto: Auzzy/pyinq
 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
Esempio n. 2
0
File: bash.py Progetto: Auzzy/pyinq
    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
Esempio n. 3
0
File: bash.py Progetto: Auzzy/pyinq
 def title(self, title):
     color_print("\n\n{0}".format(title.upper()),fore=WHITE.bold())