mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
21 lines
504 B
Python
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()
|