mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Fixed and pass text color
This commit is contained in:
parent
ed8ee244eb
commit
b5f07a992b
1 changed files with 8 additions and 6 deletions
|
@ -9,12 +9,14 @@ class TestColors(unittest.TestCase):
|
|||
self.color = colors()
|
||||
|
||||
def test_colors(self):
|
||||
self.assertIn('BOLD', self.color)
|
||||
self.assertIn('RED', self.color)
|
||||
self.assertIn('YELLOW', self.color)
|
||||
self.assertIn('GREEN', self.color)
|
||||
self.assertIn('BLUE', self.color)
|
||||
self.assertIn('GREY', self.color)
|
||||
self.assertIn('bold', self.color)
|
||||
self.assertIn('red', self.color)
|
||||
self.assertIn('yellow', self.color)
|
||||
self.assertIn('cyan', self.color)
|
||||
self.assertIn('green', self.color)
|
||||
self.assertIn('blue', self.color)
|
||||
self.assertIn('grey', self.color)
|
||||
self.assertIn('endc', self.color)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue