/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: Daniel Watkins
  • Date: 2009-02-09 23:34:21 UTC
  • mto: (3999.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4000.
  • Revision ID: daniel@daniel-watkins.co.uk-20090209233421-xv1oyk5pzgqj931u
Made error message slightly more friendly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
    def test_invalid_shelf_id(self):
576
576
        invalid_id = "foo"
577
577
        err = errors.InvalidShelfId(invalid_id)
578
 
        self.assertEqual('"foo" is not a valid shelf id.', str(err))
 
578
        self.assertEqual('"foo" is not a valid shelf id, try a number instead.', str(err))
579
579
 
580
580
 
581
581
class PassThroughError(errors.BzrError):