diff options
author | Matt Martz <matt@sivel.net> | 2022-12-01 13:23:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 11:23:08 -0800 |
commit | 9acca5b3b9f954faee1347866d0312eb0ba3ef66 (patch) | |
tree | e1c39cd4e56277a12c5d98658535253819e99f1e | |
parent | 042a55fbe01a723b165e694b26940ef672cf1da0 (diff) | |
download | ansible-9acca5b3b9f954faee1347866d0312eb0ba3ef66.tar.gz |
Allow test to run on system with selinux enabled. Fixes #77564 (#79510)
-rw-r--r-- | test/units/module_utils/basic/test_filesystem.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/units/module_utils/basic/test_filesystem.py b/test/units/module_utils/basic/test_filesystem.py index f09cecf46a..50e674c474 100644 --- a/test/units/module_utils/basic/test_filesystem.py +++ b/test/units/module_utils/basic/test_filesystem.py @@ -143,6 +143,8 @@ class TestOtherFilesystem(ModuleTestCase): argument_spec=dict(), ) + am.selinux_enabled = lambda: False + file_args = { 'path': '/path/to/file', 'mode': None, |