slpkg/tests/test_colors.py

24 lines
588 B
Python
Raw Normal View History

2022-06-21 18:00:05 +02:00
import unittest
from slpkg.configs import Configs
class TestColors(unittest.TestCase):
def setUp(self):
colors = Configs.colour
self.color = colors()
def test_colors(self):
2022-12-22 22:51:41 +01:00
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)
2022-06-21 18:00:05 +02:00
if __name__ == '__main__':
unittest.main()