/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: 2009-02-11 00:29:57 UTC
  • mfrom: (3990.2.7 shelf)
  • mto: This revision was merged to the branch mainline in revision 4000.
  • Revision ID: ian.clatworthy@canonical.com-20090211002957-m3f364g9ovnwqm6h
Improve shelf documentation & fix backtrace (Daniel Watkins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
577
577
        self.assertEqual(str(err), "Branching 'bar'(foo) must create a"
578
578
                                   " working tree.")
579
579
 
 
580
    def test_invalid_shelf_id(self):
 
581
        invalid_id = "foo"
 
582
        err = errors.InvalidShelfId(invalid_id)
 
583
        self.assertEqual('"foo" is not a valid shelf id, '
 
584
            'try a number instead.', str(err))
 
585
 
580
586
 
581
587
class PassThroughError(errors.BzrError):
582
588