Пример #1
0
 def test__check_for_package_installed(self):
     sources._check_for_package('sh')
Пример #2
0
 def test__check_for_package_installed(self):
     sources._check_for_package('sh')
Пример #3
0
 def test__check_for_package_not_installed(self):
     with self.assertRaises(errors.MissingPackageError):
         sources._check_for_package('not-a-package')
Пример #4
0
 def test__check_for_package_not_installed(self):
     with self.assertRaises(errors.MissingPackageError):
         sources._check_for_package('not-a-package')