/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: Robert Collins
  • Date: 2007-04-23 00:28:58 UTC
  • mfrom: (2440 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: robertc@robertcollins.net-20070423002858-l285r8h8a9jjco64
Merge up with bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        error = errors.TooManyConcurrentRequests("a medium")
131
131
        self.assertEqualDiff("The medium 'a medium' has reached its concurrent "
132
132
            "request limit. Be sure to finish_writing and finish_reading on "
133
 
            "the current request that is open.",
 
133
            "the currently open request.",
134
134
            str(error))
135
135
 
136
136
    def test_unknown_hook(self):
244
244
            host='ahost', port=444, msg='Unable to connect to ssh host',
245
245
            orig_error='my_error')
246
246
 
 
247
    def test_unexpected_smart_server_response(self):
 
248
        e = errors.UnexpectedSmartServerResponse(('not yes',))
 
249
        self.assertEqual(
 
250
            "Could not understand response from smart server: ('not yes',)",
 
251
            str(e))
247
252
 
248
253
 
249
254
class PassThroughError(errors.BzrError):