Skip to content

Commit

Permalink
Fix podman specific failure == applied to string and int (#900) (#909)
Browse files Browse the repository at this point in the history
[release_2.1] Fix podman specific failure == applied to string and int (#900)

Backport of #900 for Ansible Runner 2.1.

Reviewed-by: David Shrewsbury <None>
Reviewed-by: None <None>
  • Loading branch information
samdoran authored Nov 9, 2021
1 parent 8c4c3de commit 471e81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/config/test__base.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def test_containerization_unsafe_write_setting(tmp_path, runtime, mocker):

expected = {
'docker': None,
'podman': 1,
'podman': '1',
}

assert rc.env.get('ANSIBLE_UNSAFE_WRITES') == expected[runtime]

0 comments on commit 471e81b

Please sign in to comment.