def test__check_for_package_installed(self): sources._check_for_package('sh')
def test__check_for_package_not_installed(self): with self.assertRaises(errors.MissingPackageError): sources._check_for_package('not-a-package')