From 5e27bb300375492fa4117c26becd688e5cfb28b0 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 18 Jun 2023 22:25:43 +0200 Subject: [PATCH] fix tests --- molecule/with_ssh_keys/tests/test_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/with_ssh_keys/tests/test_default.py b/molecule/with_ssh_keys/tests/test_default.py index 2f447b0..6041e58 100644 --- a/molecule/with_ssh_keys/tests/test_default.py +++ b/molecule/with_ssh_keys/tests/test_default.py @@ -24,7 +24,7 @@ def test_ubuntu_sudoer(host): assert etc_sudoers_d_ubuntu.user == "root" assert etc_sudoers_d_ubuntu.group == "root" assert etc_sudoers_d_ubuntu.mode == 0o440 - assert etc_sudoers_d_ubuntu.contains("ubuntu ALL=(ALL) NOPASSWD: ALL") + assert etc_sudoers_d_ubuntu.contains("ubuntu ALL=NOPASSWD:SETENV: ALL") def test_ubuntu_ssh_authorized_keys(host): """Validate that ubuntu user has authorized_keys"""