Fixed D102 and remove config

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 19:21:45 +03:00
parent 52aa3deac0
commit 8ef7162425

View file

@ -7,6 +7,7 @@ class TestConfigs(unittest.TestCase):
"""Testing the configuration.""" """Testing the configuration."""
def setUp(self) -> None: def setUp(self) -> None:
"""Set the test."""
self.configs = Configs self.configs = Configs
def test_configs(self) -> None: def test_configs(self) -> None:
@ -43,7 +44,6 @@ class TestConfigs(unittest.TestCase):
self.assertEqual(True, self.configs.ascii_characters) self.assertEqual(True, self.configs.ascii_characters)
self.assertEqual(True, self.configs.ask_question) self.assertEqual(True, self.configs.ask_question)
self.assertEqual(True, self.configs.kernel_version) self.assertEqual(True, self.configs.kernel_version)
self.assertEqual(False, self.configs.slackpkg_changelog)
self.assertEqual(False, self.configs.parallel_downloads) self.assertEqual(False, self.configs.parallel_downloads)
self.assertEqual(5, self.configs.maximum_parallel) self.assertEqual(5, self.configs.maximum_parallel)
self.assertEqual(True, self.configs.progress_bar_conf) self.assertEqual(True, self.configs.progress_bar_conf)