示例#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')