170
197
('TokenMismatch', 'some-token', 'actual-token'),
171
198
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),
174
218
class TestRequestJail(TestCaseWithMemoryTransport):
177
221
transport = self.get_transport('blah')
178
222
req = request.SmartServerRequest(transport)