@@ -14,7 +14,7 @@ def test_authorized_keys(host):
with host.sudo():
ssh_key = open('tests/data/ansible_key.pub', 'read').read().strip()
ssh_key = open('tests/data/ansible_key.pub', 'r').read().strip()
authorized_keys = host.file('/home/ansible/.ssh/authorized_keys')
assert authorized_keys.is_file
@@ -28,6 +28,6 @@ def test_root_authorised_keys(host):
assert ssh_key not in host.file('/root/.ssh/authorized_keys').content_string