Ejemplo n.º 1
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
Ejemplo n.º 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
Ejemplo n.º 3
0
 def test_is_package_installed_existing(self):
     assert RpmHelper.is_package_installed('glibc') is True
     assert RpmHelper.is_package_installed('coreutils') is True
Ejemplo n.º 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