~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

Update to 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(