~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

Merge from bzr.dev

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