Skip to content

Commit 17a55ea

Browse files
AlanCodingsamdoran
authored andcommitted
Add test for combine python and file settings
(cherry picked from commit 041695c)
1 parent 66b46af commit 17a55ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/integration/test_config.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from ansible_runner.config._base import BaseConfig
2+
3+
4+
def test_combine_python_and_file_settings(project_fixtures):
5+
rc = BaseConfig(private_data_dir=str(project_fixtures / 'job_env'), settings={'job_timeout': 40})
6+
rc._prepare_env()
7+
assert rc.settings == {'job_timeout': 40, 'process_isolation': True}

0 commit comments

Comments
 (0)