fix tests

This commit is contained in:
Bertrand Lanson 2023-06-18 22:22:27 +02:00
parent 75841b7a51
commit 6b217e5ddf

View File

@ -23,7 +23,7 @@ def test_ubuntu_sudoer(host):
assert etc_sudoers_d_ubuntu.exists
assert etc_sudoers_d_ubuntu.user == "root"
assert etc_sudoers_d_ubuntu.group == "root"
assert etc_sudoers_d_ubuntu.mode == 0o640
assert etc_sudoers_d_ubuntu.mode == 0o440
assert etc_sudoers_d_ubuntu.contains("ubuntu ALL=(ALL) NOPASSWD: ALL")
def test_ubuntu_ssh_authorized_keys(host):