Skip to content

Commit

Permalink
Merge pull request #1 from AlanCoding/settings_combination_test
Browse files Browse the repository at this point in the history
Add test for combine python and file settings
  • Loading branch information
berndbohmeier committed Nov 2, 2021
2 parents 3386cba + 041695c commit 4c27c8e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration/test_config.py
@@ -0,0 +1,7 @@
from ansible_runner.config._base import BaseConfig


def test_combine_python_and_file_settings(project_fixtures):
rc = BaseConfig(private_data_dir=str(project_fixtures / 'job_env'), settings={'job_timeout': 40})
rc._prepare_env()
assert rc.settings == {'job_timeout': 40, 'process_isolation': True}

0 comments on commit 4c27c8e

Please sign in to comment.