From d89b4fb9133379c596c4ea7f8a4829fe03684578 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 29 Jan 2017 06:07:01 +0200
Subject: [PATCH] - Corrected test with older Git versions.

---
 tests/test_deploy_key.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/test_deploy_key.py b/tests/test_deploy_key.py
index cf34f2a..420b6d7 100644
--- a/tests/test_deploy_key.py
+++ b/tests/test_deploy_key.py
@@ -5,4 +5,5 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
 
 def test_deploy_key(Command, Sudo):
     with Sudo(user='nobody'):
-        assert Command('git -C /tmp/ansible-role-deploy-key pull').rc == 0
+        assert Command(
+            'git --git-dir /tmp/ansible-role-deploy-key/.git pull').rc == 0
-- 
GitLab