Skip to content
Snippets Groups Projects
Commit d89b4fb9 authored by nimrod's avatar nimrod
Browse files

- Corrected test with older Git versions.

parent 5ab1ae24
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment