Home
last modified time | relevance | path

Searched refs:ValidationError (Results 1 – 3 of 3) sorted by relevance

/tools/repohooks/rh/
Dconfig.py40 class ValidationError(Error): class
128 raise ValidationError('%s: %s' % (path, e))
201 raise ValidationError('%s: unknown sections: %s' %
207 raise ValidationError('%s: custom hook "%s" cannot be blank' %
216 raise ValidationError('%s: unknown builtin hooks: %s' %
219 raise ValidationError('Builtin hook options specified, but missing '
226 raise ValidationError('%s: unknown builtin hook options: %s' %
234 raise ValidationError('%s: hook "%s" command line is invalid: '
242 raise ValidationError('%s: hook options "%s" are invalid: %s' %
251 raise ValidationError('%s: unknown tools: %s' %
[all …]
Dconfig_unittest.py90 self.assertRaises(rh.config.ValidationError, rh.config.PreUploadConfig,
96 self.assertRaises(rh.config.ValidationError, rh.config.PreUploadConfig,
102 self.assertRaises(rh.config.ValidationError, rh.config.PreUploadConfig,
108 self.assertRaises(rh.config.ValidationError, rh.config.PreUploadConfig,
116 self.assertRaises(rh.config.ValidationError, rh.config.PreUploadConfig,
/tools/repohooks/
Dpre-upload.py265 except rh.config.ValidationError as e: