~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Aaron Bentley
  • Date: 2008-06-06 16:40:46 UTC
  • mfrom: (3482 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3483.
  • Revision ID: aaron@aaronbentley.com-20080606164046-ghbxplxuhtpcb9iz
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        self.assertEqualDiff('The prefix foo is in the help search path twice.',
53
53
            str(error))
54
54
 
 
55
    def test_ghost_revisions_have_no_revno(self):
 
56
        error = errors.GhostRevisionsHaveNoRevno('target', 'ghost_rev')
 
57
        self.assertEqualDiff("Could not determine revno for {target} because"
 
58
                             " its ancestry shows a ghost at {ghost_rev}",
 
59
                             str(error))
 
60
 
55
61
    def test_incompatibleAPI(self):
56
62
        error = errors.IncompatibleAPI("module", (1, 2, 3), (4, 5, 6), (7, 8, 9))
57
63
        self.assertEqualDiff(