~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Alexander Belchenko
  • Date: 2007-11-19 22:54:30 UTC
  • mfrom: (3006 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3008.
  • Revision ID: bialix@ukr.net-20071119225430-x0ewosrsagis0yno
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
382
382
        self.assertEqual(
383
383
            "Corrupt or incompatible data stream: my reason", str(e))
384
384
 
 
385
    def test_immortal_pending_deletion_message(self):
 
386
        err = errors.ImmortalPendingDeletion('foo')
 
387
        self.assertEquals(
 
388
            "Unable to delete transform temporary directory foo.  "
 
389
            "Please examine foo to see if it contains any files "
 
390
            "you wish to keep, and delete it when you are done.",
 
391
            str(err))
 
392
 
385
393
 
386
394
class PassThroughError(errors.BzrError):
387
395