mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Updated color test
This commit is contained in:
parent
0aa9bc7004
commit
570570d0bb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue