2985
2985
expected_error = errors.BzrError("remote server out of memory")
2986
2986
self.assertEqual(expected_error, translated_error)
2989
2989
err = errors.ErrorFromSmartServer(('error', "list index out of range"))
2990
2990
translated_error = self.translateErrorFromSmartServer(err)
2991
2991
expected_error = errors.UnknownErrorFromSmartServer(err)