/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 2255

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
            "the current request that is open.",
102
102
            str(error))
103
103
 
 
104
    def test_unknown_hook(self):
 
105
        error = errors.UnknownHook("branch", "foo")
 
106
        self.assertEqualDiff("The branch hook 'foo' is unknown in this version"
 
107
            " of bzrlib.",
 
108
            str(error))
 
109
        error = errors.UnknownHook("tree", "bar")
 
110
        self.assertEqualDiff("The tree hook 'bar' is unknown in this version"
 
111
            " of bzrlib.",
 
112
            str(error))
 
113
 
104
114
    def test_up_to_date(self):
105
115
        error = errors.UpToDateFormat(bzrdir.BzrDirFormat4())
106
116
        self.assertEqualDiff("The branch format Bazaar-NG branch, "