/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

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        error = errors.NoRepositoryPresent(dir)
32
32
        self.assertNotEqual(-1, str(error).find((dir.transport.clone('..').base)))
33
33
        self.assertEqual(-1, str(error).find((dir.transport.base)))
 
34
        
 
35
    def test_no_such_id(self):
 
36
        error = errors.NoSuchId("atree", "anid")
 
37
        self.assertEqualDiff("The file id anid is not present in the tree "
 
38
            "atree.",
 
39
            str(error))
34
40
 
35
41
    def test_up_to_date(self):
36
42
        error = errors.UpToDateFormat(bzrdir.BzrDirFormat4())