def test_is_package_installed_non_existing(self):
     assert RpmHelper.is_package_installed('non-existing-package') is False
     assert RpmHelper.is_package_installed('another-non-existing-package') is False
示例#2
0
 def test_is_package_installed_non_existing(self):
     assert RpmHelper.is_package_installed('non-existing-package') is False
     assert RpmHelper.is_package_installed(
         'another-non-existing-package') is False
 def test_is_package_installed_existing(self):
     assert RpmHelper.is_package_installed('glibc') is True
     assert RpmHelper.is_package_installed('coreutils') is True
示例#4
0
 def test_is_package_installed_existing(self):
     assert RpmHelper.is_package_installed('glibc') is True
     assert RpmHelper.is_package_installed('coreutils') is True