563
565
err = errors.UnknownRules(['foo', 'bar'])
564
566
self.assertEquals("Unknown rules detected: foo, bar.", str(err))
572
err = errors.HookFailed('hook stage', 'hook name', exc_info, warn=False)
578
568
def test_tip_change_rejected(self):
579
569
err = errors.TipChangeRejected(u'Unicode message\N{INTERROBANG}')