From f406a090dff41978d268c4658d9d2d6c50df8663 Mon Sep 17 00:00:00 2001 From: Johannes Hahn Date: Wed, 14 Feb 2024 17:42:39 +0100 Subject: [PATCH] Fix test after formatting changes (pre-commit) --- tests/pytests/unit/modules/test_ansiblegate.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/pytests/unit/modules/test_ansiblegate.py b/tests/pytests/unit/modules/test_ansiblegate.py index 272da721bf6..70c6f5383d3 100644 --- a/tests/pytests/unit/modules/test_ansiblegate.py +++ b/tests/pytests/unit/modules/test_ansiblegate.py @@ -119,10 +119,9 @@ def test_ansible_module_call(): env=ANY, check=True, shell=False, - stderr=-1, - stdout=-1, + capture_output=True, timeout=1200, - universal_newlines=True, + text=True, ) assert ret == {"completed": True}