Pass test checks

This commit is contained in:
Dimitris Zlatanidis 2022-12-23 00:08:04 +02:00
parent 604cc98b7b
commit 8c8885aa48

View file

@ -6,7 +6,7 @@ class TestPkgInstalled(unittest.TestCase):
def setUp(self):
self.check = Check()
self.packages = ['Flask', 'colored', 'slpkg']
self.packages = ['fish', 'ranger', 'pycharm']
def test_check_exists(self):
self.assertIsNone(self.check.exists(self.packages))
@ -15,11 +15,10 @@ class TestPkgInstalled(unittest.TestCase):
self.assertIsNone(self.check.unsupported(self.packages))
def test_check_installed(self):
self.assertIsNone(self.check.installed(self.packages))
self.assertListEqual(self.packages, self.check.installed(self.packages))
def test_check_blacklist(self):
self.assertListEqual(self.packages,
self.check.blacklist(self.packages))
self.assertIsNone(self.check.blacklist(self.packages))
if __name__ == "__main__":