40a44ce6ea
Using ``` assert 'changed' in result ``` doesn't actually check if something is changed, which is presumably the reason for the assertion. What is actually needed is ``` assert result.get('changed') ``` which checks that changed is set and not False. Tests still pass after this change |
||
---|---|---|
.. | ||
action_plugins | ||
assemble.d | ||
inventory | ||
inventory_dir | ||
test_callbacks | ||
test_hash_behavior | ||
test_playbook_undefined_vars | ||
test_playbook_vars | ||
test_recursive_copy/files/subdir/subdir2/subdir3 | ||
ansible.cfg | ||
ansible_hosts | ||
apt_key.gpg | ||
CentOS.yml | ||
common_vars.yml | ||
complex_hosts | ||
cron_test.yml | ||
default_os.yml | ||
gce_tests.py | ||
hosts_list.yml | ||
inventory_api.py | ||
jinja2_overrides.tpl | ||
large_range | ||
lookup_plugins.yml | ||
playbook-always-run.yml | ||
playbook-changed_when.yml | ||
playbook-failed_when.yml | ||
playbook-ignore-errors.yml | ||
playbook-module-host.yml | ||
playbook-recursive-copy.yml | ||
playbook-templated-includer.yml | ||
playbook1.yml | ||
restrict_pattern | ||
results_list.yml | ||
rocannon.txt | ||
sample.j2 | ||
simple_hosts | ||
template-basic | ||
template-whitespace | ||
TestCallback.py | ||
TestConstants.py | ||
TestFilters.py | ||
TestInventory.py | ||
TestPlayBook.py | ||
TestRunner.py | ||
TestUtils.py | ||
world |