mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-08 02:01:31 -07:00
Allow setting resource.RLIMIT_NOFILE in modules (#51989)
This commit is contained in:
parent
1db6d5598a
commit
f5c92f6bc1
7 changed files with 136 additions and 1 deletions
|
@ -133,6 +133,7 @@ class TestActionBase(unittest.TestCase):
|
|||
mock_module_loader.find_plugin.side_effect = mock_find_plugin
|
||||
mock_shared_obj_loader = MagicMock()
|
||||
mock_shared_obj_loader.module_loader = mock_module_loader
|
||||
mock_templar = MagicMock()
|
||||
|
||||
# we're using a real play context here
|
||||
play_context = PlayContext()
|
||||
|
@ -143,7 +144,7 @@ class TestActionBase(unittest.TestCase):
|
|||
connection=mock_connection,
|
||||
play_context=play_context,
|
||||
loader=fake_loader,
|
||||
templar=None,
|
||||
templar=mock_templar,
|
||||
shared_loader_obj=mock_shared_obj_loader,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue