~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

Bring in both branch-builder threads.

Show diffs side-by-side

added added

removed removed

Lines of Context:
502
502
            "user encoding " + osutils.get_user_encoding(),
503
503
            str(err))
504
504
 
505
 
    def test_unknown_build_action(self):
506
 
        err = errors.UnknownBuildAction('myaction')
507
 
        self.assertEqual("Unknown build action: myaction", str(err))
508
 
 
509
505
    def test_unknown_format(self):
510
506
        err = errors.UnknownFormatError('bar', kind='foo')
511
507
        self.assertEquals("Unknown foo format: 'bar'", str(err))