~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: 2006-03-03 07:03:44 UTC
  • mfrom: (1587.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060303070344-03bb9a021c0d964c
Merge in new reconcile command and revision metadata correctness checks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                             "format 0.0.4 is already at the most "
37
37
                             "recent format.",
38
38
                             str(error))
 
39
 
 
40
    def test_corrupt_repository(self):
 
41
        repo = self.make_repository('.')
 
42
        error = errors.CorruptRepository(repo)
 
43
        self.assertEqualDiff("An error has been detected in the repository %s.\n"
 
44
                             "Please run bzr reconcile on this repository." %
 
45
                             repo.bzrdir.root_transport.base,
 
46
                             str(error))