From 743bf89081f6e83b54480cf4cb6ce1bcd789a52b Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 29 Apr 2024 22:22:40 +0300 Subject: [PATCH] Improved code quality --- tests/test_configs.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/test_configs.py b/tests/test_configs.py index ff87b54e..2ca5b167 100644 --- a/tests/test_configs.py +++ b/tests/test_configs.py @@ -1,14 +1,19 @@ import unittest -from slpkg.configs import Configs from pathlib import Path +from slpkg.configs import Configs class TestConfigs(unittest.TestCase): - def setUp(self): + """ Test general configs. + """ + + def setUp(self) -> None: self.configs = Configs - def test_configs(self): + def test_configs(self) -> None: + """ Test all configs. + """ self.assertEqual('slpkg', self.configs.prog_name) self.assertEqual('x86_64', self.configs.os_arch) self.assertEqual(Path('/tmp'), self.configs.tmp_path)