summaryrefslogtreecommitdiff
path: root/test-sftpfs
diff options
context:
space:
mode:
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-xtest-sftpfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-sftpfs b/test-sftpfs
index 6a7b9b93..4b8e6c39 100755
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -50,6 +50,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
'strict-ssh-host-keys': False,
'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'),
'ssh-command': None,
+ 'ssh-host-keys-check': 'no',
}
self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl,
settings=settings)
@@ -72,6 +73,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
'strict-ssh-host-keys': False,
'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'),
'ssh-command': None,
+ 'ssh-host-keys-check': 'no',
}
fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl, settings=settings)
fs.connect()