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