/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: Robert Collins
  • Date: 2007-10-15 05:23:29 UTC
  • mfrom: (2906 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2907.
  • Revision ID: robertc@robertcollins.net-20071015052329-z5458xq9q2kq72mv
Merge bzr.dev

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