Updated for test

This commit is contained in:
Dimitris Zlatanidis 2023-04-26 17:25:42 +03:00
parent 8c57c56729
commit 819c706da2

View file

@ -11,9 +11,9 @@ class TestConfigs(unittest.TestCase):
def test_configs(self):
self.assertEqual('slpkg', self.configs.prog_name)
self.assertEqual('x86_64', self.configs.os_arch)
self.assertEqual('/tmp/', self.configs.tmp_path)
self.assertEqual(Path('/tmp'), self.configs.tmp_path)
self.assertEqual(Path('/tmp/slpkg'), self.configs.tmp_slpkg)
self.assertEqual('/tmp/slpkg/', self.configs.download_only_path)
self.assertEqual(Path('/tmp/slpkg/'), self.configs.download_only_path)
self.assertEqual(Path('/var', 'lib', 'slpkg'), self.configs.lib_path)
self.assertEqual(Path('/etc', 'slpkg'), self.configs.etc_path)
self.assertEqual(Path('/var/lib/', 'slpkg', 'database'), self.configs.db_path)