/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

  • Committer: Martin Pool
  • Date: 2007-02-15 01:23:29 UTC
  • mfrom: (2284 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2309.
  • Revision ID: mbp@sourcefrog.net-20070215012329-blt2xfhup97r6w8h
merge up from bzr.dev to get metadir changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
            "the current request that is open.",
95
95
            str(error))
96
96
 
 
97
    def test_unknown_hook(self):
 
98
        error = errors.UnknownHook("branch", "foo")
 
99
        self.assertEqualDiff("The branch hook 'foo' is unknown in this version"
 
100
            " of bzrlib.",
 
101
            str(error))
 
102
        error = errors.UnknownHook("tree", "bar")
 
103
        self.assertEqualDiff("The tree hook 'bar' is unknown in this version"
 
104
            " of bzrlib.",
 
105
            str(error))
 
106
 
97
107
    def test_up_to_date(self):
98
108
        error = errors.UpToDateFormat(bzrdir.BzrDirFormat4())
99
109
        self.assertEqualDiff("The branch format Bazaar-NG branch, "