/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

Update a clean branch with the dirstate improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
            "atree.",
82
82
            str(error))
83
83
 
 
84
    def test_no_such_revision_in_tree(self):
 
85
        error = errors.NoSuchRevisionInTree("atree", "anid")
 
86
        self.assertEqualDiff("The revision id anid is not present in the tree "
 
87
            "atree.",
 
88
            str(error))
 
89
        self.assertIsInstance(error, errors.NoSuchRevision)
 
90
 
84
91
    def test_not_write_locked(self):
85
92
        error = errors.NotWriteLocked('a thing to repr')
86
93
        self.assertEqualDiff("'a thing to repr' is not write locked but needs "