~bzr/bzr/bzr.1.5

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-07 07:27:16 UTC
  • mfrom: (3408.2.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080507072716-lr54bdt55km4feso
(mbp) Remove code deprecated prior to 1.1 and its tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
            "to be.",
187
187
            str(error))
188
188
 
189
 
    def test_read_only_lock_error(self):
190
 
        error = self.applyDeprecated(symbol_versioning.zero_ninetytwo,
191
 
            errors.ReadOnlyLockError, 'filename', 'error message')
192
 
        self.assertEqualDiff("Cannot acquire write lock on filename."
193
 
                             " error message", str(error))
194
 
 
195
189
    def test_lock_failed(self):
196
190
        error = errors.LockFailed('http://canonical.com/', 'readonly transport')
197
191
        self.assertEqualDiff("Cannot lock http://canonical.com/: readonly transport",