Allow setting resource.RLIMIT_NOFILE in modules (#51989)

This commit is contained in:
Matt Clay 2019-02-15 17:52:35 -08:00 committed by GitHub
parent 1db6d5598a
commit f5c92f6bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 136 additions and 1 deletions

View file

@ -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,
)