/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Ian Clatworthy
  • Date: 2008-06-25 11:37:34 UTC
  • mto: (3515.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3516.
  • Revision ID: ian.clatworthy@canonical.com-20080625113734-n4cko5tclbnx9wgp
add UnknownRules class & test

Show diffs side-by-side

added added

removed removed

Lines of Context:
499
499
        err = errors.UnknownFormatError('bar', kind='foo')
500
500
        self.assertEquals("Unknown foo format: 'bar'", str(err))
501
501
 
 
502
    def test_unknown_rules(self):
 
503
        err = errors.UnknownRules(['foo', 'bar'])
 
504
        self.assertEquals("Unknown rules detected: foo, bar.", str(err))
 
505
 
502
506
 
503
507
class PassThroughError(errors.BzrError):
504
508