Updated color test

This commit is contained in:
Dimitris Zlatanidis 2023-04-25 11:21:23 +03:00
parent 0aa9bc7004
commit 570570d0bb

View file

@ -9,7 +9,7 @@ class TestColors(unittest.TestCase, Configs):
def test_colors(self): def test_colors(self):
self.assertEqual('\033[32;5m', self.blink) self.assertEqual('\033[32;5m', self.blink)
self.assertIn('\033[1m', self.bold) self.assertEqual('\033[1m', self.bold)
self.assertEqual('\x1b[91m', self.red) self.assertEqual('\x1b[91m', self.red)
self.assertEqual('\033[1m\x1b[91m', self.bred) self.assertEqual('\033[1m\x1b[91m', self.bred)
self.assertEqual('\x1b[32m', self.green) self.assertEqual('\x1b[32m', self.green)