~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: Martin Pool
  • Date: 2007-04-04 01:22:11 UTC
  • mfrom: (2393.1.1 bzr.docs)
  • mto: This revision was merged to the branch mainline in revision 2397.
  • Revision ID: mbp@sourcefrog.net-20070404012211-sq269me6bai9m6xk
merge trunk and doc fix from elliot

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        super(TestCaseWithSFTPServer, self).setUp()
58
58
        if not paramiko_loaded:
59
59
            raise TestSkipped('you must have paramiko to run this test')
60
 
        set_test_transport_to_sftp(self) 
 
60
        set_test_transport_to_sftp(self)
61
61
 
62
62
    def get_transport(self, path=None):
63
63
        """Return a transport relative to self._test_root."""
302
302
            server._vendor = self._test_vendor
303
303
            return server
304
304
        self._test_vendor = 'loopback'
305
 
        self.transport_server = create_server
 
305
        self.vfs_transport_server = create_server
306
306
        f = open('a_file', 'wb')
307
307
        try:
308
308
            f.write('foobar\n')