~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: John Arbash Meinel
  • Date: 2008-07-29 16:16:36 UTC
  • mto: (3514.4.18 merge_lca_multi)
  • mto: This revision was merged to the branch mainline in revision 3590.
  • Revision ID: john@arbash-meinel.com-20080729161636-aekx4mzqqf4733wl
Apply the review changes from Martin to the exact patch he approved.

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))