diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-12-29 14:52:07 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-12-29 14:52:07 +0000 |
commit | c5de2f4d08d94a4f8efcc15d22b41279eb667123 (patch) | |
tree | b048f6fab3b4d46a26d0d684970f2de901bbca83 /test-sftpfs | |
parent | f14d18486f755c831c6c92538346d38703db6c13 (diff) | |
download | obnam-c5de2f4d08d94a4f8efcc15d22b41279eb667123.tar.gz |
make it possible to force use of paramiko and related changes
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-x | test-sftpfs | 8 |
1 files changed, 7 insertions, 1 deletions
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): |