~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Martin Pool
  • Date: 2008-05-02 07:31:24 UTC
  • mto: (3408.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 3410.
  • Revision ID: mbp@sourcefrog.net-20080502073124-nxmeqrzkji6u2m76
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",