From d9384728d13c09ad44478645cdda5e46065f2545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Fri, 3 Mar 2017 13:29:50 +0100
Subject: [PATCH] disable security for ssh check

---
 tests/test_backup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_backup.py b/tests/test_backup.py
index 3c6a8860..ca33d90a 100755
--- a/tests/test_backup.py
+++ b/tests/test_backup.py
@@ -19,7 +19,7 @@ def test_ssh(server):
 
 def test_last_backup_is_recent(server, client):
     path = '/backup/%s/current' % client
-    cmd = 'ssh -y %s ls -l %s | grep current' % (server, path)
+    cmd = 'ssh -o StrictHostKeyChecking=no %s ls -l %s | grep current' % (server, path)
     status, out = subprocess.getstatusoutput(cmd)
     if status == 0:
         date = out.strip().split(' ')[-2]
-- 
GitLab