slpkg/tests/test_colors.py
Dimitris Zlatanidis c3c6396770 Added tests
2022-06-21 19:00:05 +03:00

21 lines
504 B
Python

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()