mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|
12 years ago | |
|---|---|---|
| .. | ||
| action_plugins | 13 years ago | |
| assemble.d | 13 years ago | |
| inventory | 12 years ago | |
| inventory_dir | 13 years ago | |
| test_callbacks | 12 years ago | |
| test_hash_behavior | 13 years ago | |
| test_playbook_undefined_vars | 12 years ago | |
| test_playbook_vars | 14 years ago | |
| test_recursive_copy/files/subdir/subdir2/subdir3 | 12 years ago | |
| CentOS.yml | 14 years ago | |
| TestCallback.py | 12 years ago | |
| TestConstants.py | 13 years ago | |
| TestFilters.py | 12 years ago | |
| TestInventory.py | 12 years ago | |
| TestPlayBook.py | 12 years ago | |
| TestRunner.py | 12 years ago | |
| TestUtils.py | 12 years ago | |
| ansible.cfg | 13 years ago | |
| ansible_hosts | 13 years ago | |
| apt_key.gpg | 13 years ago | |
| common_vars.yml | 14 years ago | |
| complex_hosts | 12 years ago | |
| cron_test.yml | 12 years ago | |
| default_os.yml | 14 years ago | |
| gce_tests.py | 12 years ago | |
| hosts_list.yml | 13 years ago | |
| inventory_api.py | 13 years ago | |
| jinja2_overrides.tpl | 13 years ago | |
| large_range | 13 years ago | |
| lookup_plugins.yml | 13 years ago | |
| playbook-always-run.yml | 12 years ago | |
| playbook-changed_when.yml | 13 years ago | |
| playbook-failed_when.yml | 12 years ago | |
| playbook-ignore-errors.yml | 13 years ago | |
| playbook-module-host.yml | 12 years ago | |
| playbook-recursive-copy.yml | 12 years ago | |
| playbook-templated-includer.yml | 13 years ago | |
| playbook1.yml | 12 years ago | |
| restrict_pattern | 12 years ago | |
| results_list.yml | 13 years ago | |
| rocannon.txt | 13 years ago | |
| sample.j2 | 13 years ago | |
| simple_hosts | 13 years ago | |
| template-basic | 14 years ago | |
| template-whitespace | 14 years ago | |
| world | 13 years ago | |