/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: John Arbash Meinel
  • Date: 2007-02-01 21:29:19 UTC
  • mfrom: (2252 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2255.
  • Revision ID: john@arbash-meinel.com-20070201212919-s0s8iwvi8lowk0w0
[merge] bzr.dev 2252

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, "