mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated checks tests
This commit is contained in:
parent
449dd0b050
commit
5e6778006c
1 changed files with 7 additions and 1 deletions
|
@ -7,7 +7,7 @@ from slpkg.repositories import Repositories
|
|||
class TestPkgInstalled(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.check = Check()
|
||||
self.check = Check([])
|
||||
self.configs = Configs()
|
||||
self.repos = Repositories()
|
||||
self.packages = ['fish', 'ranger', 'pycharm']
|
||||
|
@ -18,9 +18,15 @@ class TestPkgInstalled(unittest.TestCase):
|
|||
def test_check_unsupported(self):
|
||||
self.assertIsNone(self.check.is_package_unsupported(self.packages))
|
||||
|
||||
def test_check_is_installed(self):
|
||||
self.assertIsNone(self.check.is_package_unsupported(self.packages))
|
||||
|
||||
def test_check_blacklist(self):
|
||||
self.assertIsNone(self.check.is_blacklist(self.packages))
|
||||
|
||||
def test_check_is_empty(self):
|
||||
self.assertIsNone(self.check.is_blacklist(self.packages))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in a new issue