mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
22 lines
504 B
Python
22 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()
|