mirror of https://github.com/ansible/ansible.git
Ensure test_command tests are actually correct
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 changepull/5137/head
parent
c259993559
commit
40a44ce6ea
Loading…
Reference in New Issue