565
572
err = errors.UnknownRules(['foo', 'bar'])
566
573
self.assertEquals("Unknown rules detected: foo, bar.", str(err))
580
err = errors.HookFailed('hook stage', 'hook name', sys.exc_info(),
568
592
def test_tip_change_rejected(self):
569
593
err = errors.TipChangeRejected(u'Unicode message\N{INTERROBANG}')