/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: Mark Hammond
  • Date: 2008-12-21 07:42:20 UTC
  • mfrom: (3915 +trunk)
  • mto: (3932.3.1 cicp-1.11)
  • mto: This revision was merged to the branch mainline in revision 3937.
  • Revision ID: mhammond@skippinet.com.au-20081221074220-7dr5oydglxyyvic3
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
                               (42000, 24000)])
498
498
 
499
499
    def checkRequestAndYield(self, expected, data, offsets):
 
500
        if not paramiko_loaded:
 
501
            raise TestSkipped('you must have paramiko to run this test')
500
502
        helper = _mod_sftp._SFTPReadvHelper(offsets, 'artificial_test')
501
503
        data_f = ReadvFile(data)
502
504
        result = list(helper.request_and_yield_offsets(data_f))