/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: Jelmer Vernooij
  • Date: 2011-11-25 17:54:52 UTC
  • mfrom: (6303 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6321.
  • Revision ID: jelmer@samba.org-20111125175452-v0uwwxqcp97tzuzv
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
719
719
            'Please use `bzr unbind` to fix.')
720
720
        self.assertEqualDiff(msg, str(error))
721
721
 
 
722
    def test_retry_with_new_packs(self):
 
723
        fake_exc_info = ('{exc type}', '{exc value}', '{exc traceback}')
 
724
        error = errors.RetryWithNewPacks(
 
725
            '{context}', reload_occurred=False, exc_info=fake_exc_info)
 
726
        self.assertEqual(
 
727
            'Pack files have changed, reload and retry. context: '
 
728
            '{context} {exc value}', str(error))
 
729
 
722
730
 
723
731
class PassThroughError(errors.BzrError):
724
732