Fixed and pass text color

This commit is contained in:
Dimitris Zlatanidis 2022-12-22 23:51:41 +02:00
parent ed8ee244eb
commit b5f07a992b

View file

@ -9,12 +9,14 @@ class TestColors(unittest.TestCase):
self.color = colors() self.color = colors()
def test_colors(self): def test_colors(self):
self.assertIn('BOLD', self.color) self.assertIn('bold', self.color)
self.assertIn('RED', self.color) self.assertIn('red', self.color)
self.assertIn('YELLOW', self.color) self.assertIn('yellow', self.color)
self.assertIn('GREEN', self.color) self.assertIn('cyan', self.color)
self.assertIn('BLUE', self.color) self.assertIn('green', self.color)
self.assertIn('GREY', self.color) self.assertIn('blue', self.color)
self.assertIn('grey', self.color)
self.assertIn('endc', self.color)
if __name__ == '__main__': if __name__ == '__main__':