~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-31 22:28:29 UTC
  • mfrom: (2052.4.5 sftp-error-49172)
  • Revision ID: pqm@pqm.ubuntu.com-20061031222829-d691c81a8a20bdb0
(John Arbash Meinel) Fix bug #49172: nicer errors on sftp connection failure

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):