From c5de2f4d08d94a4f8efcc15d22b41279eb667123 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 29 Dec 2011 14:52:07 +0000 Subject: make it possible to force use of paramiko and related changes --- test-sftpfs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test-sftpfs') diff --git a/test-sftpfs b/test-sftpfs index 05815549..c8ad2ae7 100755 --- a/test-sftpfs +++ b/test-sftpfs @@ -40,7 +40,13 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests): def setUp(self): self.basepath = tempfile.mkdtemp() baseurl = 'sftp://localhost%s' % self.basepath - self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl) + settings = { + 'pure-paramiko': False, + 'create': True, + 'sftp-delay': 0, + } + self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl, + settings=settings) self.fs.connect() def tearDown(self): -- cgit v1.2.1