mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for tests
This commit is contained in:
parent
815f9bbdbc
commit
e4037c83b8
2 changed files with 2 additions and 2 deletions
|
@ -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__':
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue