slpkg/tests/test_colors.py

22 lines
504 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):
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)
if __name__ == '__main__':
unittest.main()