diff --git a/tests/test_upgrade.py b/tests/test_upgrade.py index 43f58b80..b2f996f1 100644 --- a/tests/test_upgrade.py +++ b/tests/test_upgrade.py @@ -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()