/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: Canonical.com Patch Queue Manager
  • Date: 2008-07-02 02:04:17 UTC
  • mfrom: (3515.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080702020417-2gnc111mzyl1xusr
Rule-based preferences (Ian Clatworthy)

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