From f2e53d29027e18fdafecf03cc24d47fef84373bc Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 29 Apr 2024 22:03:56 +0300 Subject: [PATCH] Improved code quality --- tests/test_colors.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/test_colors.py b/tests/test_colors.py index f3dd214a..ff170cc5 100644 --- a/tests/test_colors.py +++ b/tests/test_colors.py @@ -4,10 +4,15 @@ from slpkg.configs import Configs class TestColors(unittest.TestCase, Configs): - def setUp(self): + """ Test for colors. + """ + + def setUp(self) -> None: super(Configs, self).__init__() - def test_colors(self): + def test_colors(self) -> None: + """ Test colors. + """ self.assertEqual('\033[32;5m', self.blink) self.assertEqual('\033[1m', self.bold) self.assertEqual('\x1b[91m', self.red)