mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Improved code quality
This commit is contained in:
parent
f2e53d2902
commit
743bf89081
1 changed files with 8 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue