197
170
('TokenMismatch', 'some-token', 'actual-token'),
198
171
errors.TokenMismatch('some-token', 'actual-token'))
204
self.assertTranslationEqual(('error', 'Exception', ""),
208
self.assertTranslationEqual(('error', 'BzrError', "some text"),
214
self.assertTranslationEqual(('error', 'zlib.error', msg),
218
174
class TestRequestJail(TestCaseWithMemoryTransport):
221
177
transport = self.get_transport('blah')
222
178
req = request.SmartServerRequest(transport)