/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: Canonical.com Patch Queue Manager
  • Date: 2007-10-12 08:57:26 UTC
  • mfrom: (2535.3.73 repo-refactor)
  • Revision ID: pqm@pqm.ubuntu.com-20071012085726-lyq36i8bo7ew28ba
(Andrew Bennetts) Add a smart method method that can pull a set of revisions in a single request.

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
            str(e))
377
377
        self.assertTrue(e.internal_error)
378
378
 
 
379
    def test_repository_data_stream_error(self):
 
380
        """Test the formatting of RepositoryDataStreamError."""
 
381
        e = errors.RepositoryDataStreamError(u"my reason")
 
382
        self.assertEqual(
 
383
            "Corrupt or incompatible data stream: my reason", str(e))
 
384
 
379
385
 
380
386
class PassThroughError(errors.BzrError):
381
387