/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_sftp_transport.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-29 21:13:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2110.
  • Revision ID: john@arbash-meinel.com-20060929211335-9af4fcf54348644e
Create a SocketConnectionError to make creating nice errors easier

Show diffs side-by-side

added added

removed removed

Lines of Context:
380
380
            # paramiko, but we know about it, so we don't have to
381
381
            # fail the test
382
382
            raise TestSkipped('Known NameError bug with paramiko-1.6.1')
383
 
        self.assertContainsRe(err, 'Connection error')
 
383
        self.assertContainsRe(err, r'bzr: ERROR: Unable to connect to SSH host'
 
384
                                   r' 127\.0\.0\.1:\d+; ')
384
385
 
385
386
 
386
387
class SFTPLatencyKnob(TestCaseWithSFTPServer):