Skip to content

Commit

Permalink
Update test to pass with ansible-core devel branch (#4098)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ssbarnea and pre-commit-ci[bot] committed Apr 9, 2024
1 parent f6d0aae commit 0708be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions test/fixtures/broken-ansible.cfg/ansible.cfg
@@ -1,5 +1,2 @@
[defaults]

# This breaks ansible-core, because it loads the value as null and only
# integers are accepted.
gather_timeout=
fact_caching_timeout=invalid-value
2 changes: 1 addition & 1 deletion test/test_main.py
Expand Up @@ -120,6 +120,6 @@ def test_broken_ansible_cfg() -> None:
)
assert proc.returncode == RC.INVALID_CONFIG, proc
assert (
"Invalid type for configuration option setting: DEFAULT_GATHER_TIMEOUT"
"Invalid type for configuration option setting: CACHE_PLUGIN_TIMEOUT"
in proc.stderr
)

0 comments on commit 0708be5

Please sign in to comment.