From e5aac0fd901c86d6173b3bca5b6e2a95c62490ad Mon Sep 17 00:00:00 2001 From: Lucas Moura Date: Wed, 18 Nov 2020 17:18:07 -0300 Subject: [PATCH] Run cmds in write_files test as sudo --- tests/integration_tests/modules/test_write_files.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/integration_tests/modules/test_write_files.py b/tests/integration_tests/modules/test_write_files.py index 15832ae3caf..79282fa66dd 100644 --- a/tests/integration_tests/modules/test_write_files.py +++ b/tests/integration_tests/modules/test_write_files.py @@ -50,15 +50,16 @@ class TestWriteFiles: @pytest.mark.parametrize( "cmd,expected_out", ( - ("file /root/file_b64", ASCII_TEXT), - ("md5sum