~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Gary van der Merwe
  • Date: 2010-08-02 19:56:52 UTC
  • mfrom: (5050.3.18 2.2)
  • mto: (5050.3.19 2.2)
  • mto: This revision was merged to the branch mainline in revision 5371.
  • Revision ID: garyvdm@gmail.com-20100802195652-o1ppjemhwrr98i61
MergeĀ lp:bzr/2.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
            "cannot be broken.",
160
160
            str(error))
161
161
 
162
 
    def test_lock_corrupt(self):
163
 
        error = errors.LockCorrupt("corruption info")
164
 
        self.assertEqualDiff("Lock is apparently held, but corrupted: "
165
 
            "corruption info\n"
166
 
            "Use 'bzr break-lock' to clear it",
167
 
            str(error))
168
 
 
169
162
    def test_knit_data_stream_incompatible(self):
170
163
        error = errors.KnitDataStreamIncompatible(
171
164
            'stream format', 'target format')