175
175
" tree atree.", str(error))
176
176
self.assertIsInstance(error, errors.NoSuchRevision)
178
183
def test_not_write_locked(self):
179
184
error = errors.NotWriteLocked('a thing to repr')
180
185
self.assertEqualDiff("'a thing to repr' is not write locked but needs "
190
189
def test_lock_failed(self):
191
190
error = errors.LockFailed('http://canonical.com/', 'readonly transport')
192
191
self.assertEqualDiff("Cannot lock http://canonical.com/: readonly transport",