~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-12 03:07:05 UTC
  • mfrom: (3350.3.22 data_stream_revamp)
  • Revision ID: pqm@pqm.ubuntu.com-20080512030705-nvl2q1tuls904eru
Deprecate bzrlib.versionedfiles.VersionedFile.join.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
            "the currently open request.",
200
200
            str(error))
201
201
 
 
202
    def test_unavailable_representation(self):
 
203
        error = errors.UnavailableRepresentation(('key',), "mpdiff", "fulltext")
 
204
        self.assertEqualDiff("The encoding 'mpdiff' is not available for key "
 
205
            "('key',) which is encoded as 'fulltext'.",
 
206
            str(error))
 
207
 
202
208
    def test_unknown_hook(self):
203
209
        error = errors.UnknownHook("branch", "foo")
204
210
        self.assertEqualDiff("The branch hook 'foo' is unknown in this version"