mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for test repos
This commit is contained in:
parent
958d6b9f9b
commit
0027c34c43
1 changed files with 15 additions and 0 deletions
|
@ -18,6 +18,21 @@ class TestUtilities(unittest.TestCase):
|
|||
for pkg in self.packages:
|
||||
self.assertFalse(False, Upgrade([]).is_package_upgradeable(pkg))
|
||||
|
||||
def test_for_sbo_repository(self):
|
||||
upgrade = Upgrade([])
|
||||
packages: list = list(upgrade.packages())
|
||||
self.assertGreater(len(packages), 1)
|
||||
|
||||
def test_for_alien_repository(self):
|
||||
upgrade = Upgrade(['-B'], 'alien')
|
||||
packages: list = list(upgrade.packages())
|
||||
self.assertGreater(len(packages), 1)
|
||||
|
||||
def test_for_slack_repository(self):
|
||||
upgrade = Upgrade(['-B'], 'slack')
|
||||
packages: list = list(upgrade.packages())
|
||||
self.assertGreater(len(packages), 1)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in a new issue