![]() |
|
Public Member Functions | |
def | disable (self) |
Public Attributes | |
Header | |
Okgreen | |
MakeFail | |
TestFail | |
TestBypassed | |
Endc | |
Static Public Attributes | |
string | Header = '\033[96m' |
string | Okgreen = '\033[92m' |
string | MakeFail = '\033[93m' |
string | TestFail = '\033[91m' |
string | TestBypassed = '\033[95m' |
string | Endc = '\033[0m' |
Very simple class for coloring in text output. Stolen from http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python If we were using python 3 we could use the termcolor package instead.
def parallel_self_test.Colours.disable | ( | self | ) |
|
static |
parallel_self_test.Colours.Endc |
|
static |
parallel_self_test.Colours.Header |
|
static |
parallel_self_test.Colours.MakeFail |
|
static |
parallel_self_test.Colours.Okgreen |
|
static |
parallel_self_test.Colours.TestBypassed |
|
static |
parallel_self_test.Colours.TestFail |