Skip to content

Commit

Permalink
Add test for combine python and file settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Nov 1, 2021
1 parent 3386cba commit 041695c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration/test_config.py
Original file line number Diff line number Diff line change
@@ -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 041695c

Please sign in to comment.