Updated for tests

This commit is contained in:
Dimitris Zlatanidis 2023-04-11 11:21:32 +03:00
parent 815f9bbdbc
commit e4037c83b8
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ class TestBlacklist(unittest.TestCase):
def test_blacklist(self):
black = Blacklist()
self.assertListEqual(['%README%', 'vlc'], black.packages())
self.assertListEqual(['%README%'], black.packages())
if __name__ == '__main__':

View file

@ -26,7 +26,7 @@ class TestUtilities(unittest.TestCase):
bin_queries = BinQueries(repo)
data: dict = bin_queries.repository_data()
flags: list = ['-B', '--bin-repo=']
packages: list = ['wget', 'vim', 'nano', 'httpd']
packages: list = ['vim', 'nano', 'httpd']
for pkg in packages:
self.assertFalse(False, Upgrade(flags, data, repo).is_package_upgradeable(pkg))