/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-20 08:33:47 UTC
  • mfrom: (2018.5.174 hpss)
  • Revision ID: pqm@pqm.ubuntu.com-20070420083347-m00rr4y00xjnv7or
(Andrew Bennetts, and many others) High performance smart server: add smart (non-vfs) commands to the client and server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        error = errors.TooManyConcurrentRequests("a medium")
120
120
        self.assertEqualDiff("The medium 'a medium' has reached its concurrent "
121
121
            "request limit. Be sure to finish_writing and finish_reading on "
122
 
            "the current request that is open.",
 
122
            "the currently open request.",
123
123
            str(error))
124
124
 
125
125
    def test_unknown_hook(self):
233
233
            host='ahost', port=444, msg='Unable to connect to ssh host',
234
234
            orig_error='my_error')
235
235
 
 
236
    def test_unexpected_smart_server_response(self):
 
237
        e = errors.UnexpectedSmartServerResponse(('not yes',))
 
238
        self.assertEqual(
 
239
            "Could not understand response from smart server: ('not yes',)",
 
240
            str(e))
236
241
 
237
242
 
238
243
class PassThroughError(errors.BzrError):