Exemple #1
0
 def color_text_test(self):
     c = StatusCell('D')
     c.set_color(91)
     assert(c.colored_text == '\033[91m' + "D" + '\033[0m')
Exemple #2
0
 def color_test(self):
     c = StatusCell('D')
     c.set_color(91)
     assert(c.color == '91')