slpkg/tests/test_utilities.py

19 lines
418 B
Python
Raw Normal View History

2022-06-21 22:00:20 +03:00
import unittest
from slpkg.utilities import Utilities
from slpkg.configs import Configs
class TestUtilities(unittest.TestCase):
def setUp(self):
self.utils = Utilities()
self.build_path = Configs.build_path
def test_ins_installed(self):
2022-06-27 15:55:05 +03:00
self.assertEqual('fish-3.4.0-x86_64-2_SBo', self.utils.is_installed(
'fish-3.4.0'))
2022-06-21 22:00:20 +03:00
if __name__ == '__main__':
unittest.main()